mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
Properly set org/app names for config files
* Adds separate debug/release config files (doesn't happen for passwords)
This commit is contained in:
parent
fca3a441bf
commit
1730b3c430
1 changed files with 10 additions and 0 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -3,6 +3,16 @@
|
|||
|
||||
int main(int argc, char* argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
QCoreApplication::setOrganizationName("redstrate");
|
||||
QCoreApplication::setOrganizationDomain("com.redstrate");
|
||||
|
||||
#ifdef NDEBUG
|
||||
QCoreApplication::setApplicationName("xivlauncher");
|
||||
#else
|
||||
QCoreApplication::setApplicationName("xivlauncher-debug");
|
||||
#endif
|
||||
|
||||
LauncherWindow w;
|
||||
w.show();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue