aboutsummaryrefslogtreecommitdiff
path: root/launcher/BaseInstance.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-10-18 09:50:27 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-10-18 09:50:27 +0200
commit3ac398ac49c517261314478b4ea820959c6d120f (patch)
tree240a20a508ad6f0708350202e4391b72db3221cd /launcher/BaseInstance.cpp
parent722194405a8333a70b44cc204dabc8a590a6b3fd (diff)
downloadPrismLauncher-3ac398ac49c517261314478b4ea820959c6d120f.tar.gz
PrismLauncher-3ac398ac49c517261314478b4ea820959c6d120f.tar.bz2
PrismLauncher-3ac398ac49c517261314478b4ea820959c6d120f.zip
fix: use display name in code
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/BaseInstance.cpp')
-rw-r--r--launcher/BaseInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/BaseInstance.cpp b/launcher/BaseInstance.cpp
index a0bd8823..8680361c 100644
--- a/launcher/BaseInstance.cpp
+++ b/launcher/BaseInstance.cpp
@@ -355,7 +355,7 @@ QString BaseInstance::name() const
QString BaseInstance::windowTitle() const
{
- return BuildConfig.LAUNCHER_NAME + ": " + name().replace(QRegularExpression("\\s+"), " ");
+ return BuildConfig.LAUNCHER_DISPLAYNAME + ": " + name().replace(QRegularExpression("\\s+"), " ");
}
// FIXME: why is this here? move it to MinecraftInstance!!!