Set up oscar-team.org as the DeveloperDomain all the places

This commit is contained in:
Phil Olynyk 2019-04-08 10:26:59 -04:00
parent 7fd7d50d8a
commit 4223bd7d4f
4 changed files with 9 additions and 1 deletions

View File

@ -48,6 +48,11 @@ const QString getDeveloperName()
return STR_DeveloperName;
}
const QString getDeveloperDomain()
{
return STR_DeveloperDomain;
}
const QString getAppName()
{
QString name = STR_AppName;

View File

@ -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";
///////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -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);

View File

@ -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