From 1730b3c430e88165172d2fde01d8e7802c865746 Mon Sep 17 00:00:00 2001 From: redstrate Date: Mon, 1 Nov 2021 14:52:34 -0400 Subject: [PATCH] Properly set org/app names for config files * Adds separate debug/release config files (doesn't happen for passwords) --- src/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 0ef0b9a..2c01875 100755 --- a/src/main.cpp +++ b/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();