mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
Set up oscar-team.org as the DeveloperDomain all the places
This commit is contained in:
parent
7fd7d50d8a
commit
4223bd7d4f
@ -48,6 +48,11 @@ const QString getDeveloperName()
|
||||
return STR_DeveloperName;
|
||||
}
|
||||
|
||||
const QString getDeveloperDomain()
|
||||
{
|
||||
return STR_DeveloperDomain;
|
||||
}
|
||||
|
||||
const QString getAppName()
|
||||
{
|
||||
QString name = STR_AppName;
|
||||
|
@ -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";
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user