diff options
author | Ashleigh <vicmoresd@gmail.com> | 2019-09-14 22:31:13 -0500 |
---|---|---|
committer | Ashleigh <vicmoresd@gmail.com> | 2019-09-14 22:31:13 -0500 |
commit | 137fe7e3c0c8dd00846c010cb04d3cf6cce591b5 (patch) | |
tree | 602fc1cf3df9df17353b539d935f87cc518ff227 /application/LaunchController.cpp | |
parent | 9689e5cea7efd0055c701f2ecc456b46ba2a8938 (diff) | |
download | MultiMC-137fe7e3c0c8dd00846c010cb04d3cf6cce591b5.tar MultiMC-137fe7e3c0c8dd00846c010cb04d3cf6cce591b5.tar.gz MultiMC-137fe7e3c0c8dd00846c010cb04d3cf6cce591b5.tar.lz MultiMC-137fe7e3c0c8dd00846c010cb04d3cf6cce591b5.tar.xz MultiMC-137fe7e3c0c8dd00846c010cb04d3cf6cce591b5.zip |
Cleaned up messages, made some more descriptive, made some nicer.
Diffstat (limited to 'application/LaunchController.cpp')
-rw-r--r-- | application/LaunchController.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/application/LaunchController.cpp b/application/LaunchController.cpp index fe12890d..bebc3db1 100644 --- a/application/LaunchController.cpp +++ b/application/LaunchController.cpp @@ -24,7 +24,7 @@ void LaunchController::executeTask() { if (!m_instance) { - emitFailed(tr("No instance specified")); + emitFailed(tr("No instance specified!")); return; } @@ -74,7 +74,7 @@ void LaunchController::login() // if no account is selected, we bail if (!account.get()) { - emitFailed(tr("No account selected for launch")); + emitFailed(tr("No account selected for launch.")); return; } @@ -192,7 +192,7 @@ void LaunchController::launchInstance() if(!m_instance->reloadSettings()) { - QMessageBox::critical(m_parentWidget, tr("Error"), tr("Couldn't load the instance profile.")); + QMessageBox::critical(m_parentWidget, tr("Error!"), tr("Couldn't load the instance profile.")); emitFailed(tr("Couldn't load the instance profile.")); return; } @@ -232,8 +232,8 @@ void LaunchController::readyForLaunch() if (!m_profiler->check(&error)) { m_launcher->abort(); - QMessageBox::critical(m_parentWidget, tr("Error"), tr("Couldn't start profiler: %1").arg(error)); - emitFailed("Profiler startup failed"); + QMessageBox::critical(m_parentWidget, tr("Error!"), tr("Couldn't start profiler: %1").arg(error)); + emitFailed("Profiler startup failed!"); return; } BaseProfiler *profilerInstance = m_profiler->createProfiler(m_launcher->instance(), this); @@ -244,7 +244,7 @@ void LaunchController::readyForLaunch() msg.setText(tr("The game launch is delayed until you press the " "button. This is the right time to setup the profiler, as the " "profiler server is running now.\n\n%1").arg(message)); - msg.setWindowTitle(tr("Waiting")); + msg.setWindowTitle(tr("Waiting.")); msg.setIcon(QMessageBox::Information); msg.addButton(tr("Launch"), QMessageBox::AcceptRole); msg.setModal(true); @@ -261,7 +261,7 @@ void LaunchController::readyForLaunch() msg.setModal(true); msg.exec(); m_launcher->abort(); - emitFailed("Profiler startup failed"); + emitFailed("Profiler startup failed!"); }); profilerInstance->beginProfiling(m_launcher); } |