diff --git a/oscar/SleepLib/common.cpp b/oscar/SleepLib/common.cpp index 14983a28..cc3b6b36 100644 --- a/oscar/SleepLib/common.cpp +++ b/oscar/SleepLib/common.cpp @@ -48,6 +48,11 @@ const QString getDeveloperName() return STR_DeveloperName; } +const QString getDeveloperDomain() +{ + return STR_DeveloperDomain; +} + const QString getAppName() { QString name = STR_AppName; diff --git a/oscar/SleepLib/common.h b/oscar/SleepLib/common.h index 6fe4f1a2..9b957926 100644 --- a/oscar/SleepLib/common.h +++ b/oscar/SleepLib/common.h @@ -134,6 +134,7 @@ const QString STR_TestBuild = ""; const QString getAppName(); const QString getDeveloperName(); +const QString getDeveloperDomain(); const QString getModifiedAppData(); void initializeStrings(); @@ -166,6 +167,7 @@ const QString STR_PREF_Language = "Language"; const QString STR_AppName = "OSCAR"; const QString STR_DeveloperName = "OSCAR_Team"; +const QString STR_DeveloperDomain = "oscar-team.org"; const QString STR_AppData = "OSCAR_Data"; /////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/oscar/main.cpp b/oscar/main.cpp index ff205845..2ee59d0a 100644 --- a/oscar/main.cpp +++ b/oscar/main.cpp @@ -245,6 +245,7 @@ int main(int argc, char *argv[]) { QString homeDocs = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)+"/"; QCoreApplication::setApplicationName(getAppName()); QCoreApplication::setOrganizationName(getDeveloperName()); + QCoreApplication::setOrganizationDomain(getDeveloperDomain()); QSettings settings; GFXEngine gfxEngine = (GFXEngine)qMin((unsigned int)settings.value(GFXEngineSetting, (unsigned int)GFX_OpenGL).toUInt(), (unsigned int)MaxGFXEngine); diff --git a/oscar/oscar.pro b/oscar/oscar.pro index d504ec46..a6e44db3 100644 --- a/oscar/oscar.pro +++ b/oscar/oscar.pro @@ -97,7 +97,7 @@ VERSION = 1.0.0 RC_ICONS = ./icons/logo.ico macx { - QMAKE_TARGET_BUNDLE_PREFIX = "org.The-OSCAR-Team" + QMAKE_TARGET_BUNDLE_PREFIX = "org.oscar-team" # QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12 LIBS += -lz ICON = icons/OSCAR.icns