aboutsummaryrefslogtreecommitdiff
path: root/launcher/UpdateController.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-10-18 13:05:24 +0200
committerGitHub <noreply@github.com>2022-10-18 13:05:24 +0200
commitafaef4e83bd3d680897762554a23be9c55d3f901 (patch)
tree7b790479e44e0f6d07dabc660f627c6249afa227 /launcher/UpdateController.cpp
parent981e9cf290b4b65bf308a82336f69325b504398a (diff)
parentb746f723cb32ef066bea48a1a2765b3ec6b7003c (diff)
downloadPrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.tar.gz
PrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.tar.bz2
PrismLauncher-afaef4e83bd3d680897762554a23be9c55d3f901.zip
Merge pull request #13 from PlaceholderMC/rebrand
Diffstat (limited to 'launcher/UpdateController.cpp')
-rw-r--r--launcher/UpdateController.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/UpdateController.cpp b/launcher/UpdateController.cpp
index 646f8e57..9ff44854 100644
--- a/launcher/UpdateController.cpp
+++ b/launcher/UpdateController.cpp
@@ -358,7 +358,7 @@ void UpdateController::fail()
msg = QObject::tr(
"Couldn't replace file %1. Changes will be reverted.\n"
"See the %2 log file for details."
- ).arg(m_failedFile, BuildConfig.LAUNCHER_NAME);
+ ).arg(m_failedFile, BuildConfig.LAUNCHER_DISPLAYNAME);
doRollback = true;
QMessageBox::critical(m_parent, failTitle, msg);
break;
@@ -368,7 +368,7 @@ void UpdateController::fail()
msg = QObject::tr(
"Couldn't remove file %1. Changes will be reverted.\n"
"See the %2 log file for details."
- ).arg(m_failedFile, BuildConfig.LAUNCHER_NAME);
+ ).arg(m_failedFile, BuildConfig.LAUNCHER_DISPLAYNAME);
doRollback = true;
QMessageBox::critical(m_parent, failTitle, msg);
break;
@@ -399,7 +399,7 @@ void UpdateController::fail()
{
msg = QObject::tr("The rollback failed too.\n"
"You will have to repair %1 manually.\n"
- "Please let us know why and how this happened.").arg(BuildConfig.LAUNCHER_NAME);
+ "Please let us know why and how this happened.").arg(BuildConfig.LAUNCHER_DISPLAYNAME);
QMessageBox::critical(m_parent, rollFailTitle, msg);
qApp->quit();
}