diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-18 13:05:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 13:05:24 +0200 |
commit | afaef4e83bd3d680897762554a23be9c55d3f901 (patch) | |
tree | 7b790479e44e0f6d07dabc660f627c6249afa227 /launcher/Application.cpp | |
parent | 981e9cf290b4b65bf308a82336f69325b504398a (diff) | |
parent | b746f723cb32ef066bea48a1a2765b3ec6b7003c (diff) | |
download | PrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.tar.gz PrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.tar.bz2 PrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.zip |
Merge pull request #13 from PlaceholderMC/rebrand
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r-- | launcher/Application.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 968dd08e..24273014 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -224,9 +224,9 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) consoleAttached = true; } #endif - setOrganizationName(BuildConfig.LAUNCHER_NAME); + setOrganizationName(BuildConfig.LAUNCHER_DISPLAYNAME); setOrganizationDomain(BuildConfig.LAUNCHER_DOMAIN); - setApplicationName(BuildConfig.LAUNCHER_NAME); + setApplicationName(BuildConfig.LAUNCHER_DISPLAYNAME); setApplicationDisplayName(QString("%1 %2").arg(BuildConfig.LAUNCHER_DISPLAYNAME, BuildConfig.printableVersionString())); setApplicationVersion(BuildConfig.printableVersionString()); setDesktopFileName(BuildConfig.LAUNCHER_DESKTOPFILENAME); @@ -237,7 +237,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) // Commandline parsing QCommandLineParser parser; - parser.setApplicationDescription(BuildConfig.LAUNCHER_NAME); + parser.setApplicationDescription(BuildConfig.LAUNCHER_DISPLAYNAME); parser.addOptions({ {{"d", "dir"}, "Use a custom path as application root (use '.' for current directory)", "directory"}, @@ -1157,7 +1157,7 @@ void Application::setIconTheme(const QString& name) QIcon Application::getThemedIcon(const QString& name) { if(name == "logo") { - return QIcon(":/org.polymc.PolyMC.svg"); + return QIcon(":/org.prismlauncher.PrismLauncher.svg"); // FIXME: Make this a BuildConfig variable } return QIcon::fromTheme(name); } |