From 0a89b04afd4e4a48eee5fa4b45f96394bd4f94c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 14 Jan 2017 18:22:50 +0100 Subject: GH-1665 Add line breaks to the fatal error dialogs. Makes is slightly more readable. --- application/MultiMC.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'application') diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 54e4cdd3..a3838f18 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -83,8 +83,8 @@ static const QLatin1String liveCheckFile("live.check"); using namespace Commandline; #define MACOS_HINT "If you are on macOS Sierra, you might have to move MultiMC.app to your /Applications or ~/Applications folder. "\ - "This usually fixes the problem and you can move the application elsewhere afterwards.\n" - + "This usually fixes the problem and you can move the application elsewhere afterwards.\n"\ + "\n" MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) { @@ -208,6 +208,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) showFatalErrorMessage( "MultiMC data folder could not be created.", "MultiMC data folder could not be created.\n" + "\n" #if defined(Q_OS_MAC) MACOS_HINT #endif @@ -222,6 +223,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) showFatalErrorMessage( "MultiMC data folder could not be opened.", "MultiMC data folder could not be opened.\n" + "\n" #if defined(Q_OS_MAC) MACOS_HINT #endif @@ -264,6 +266,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) showFatalErrorMessage( "MultiMC data folder is not writable!", "MultiMC couldn't create a log file - the MultiMC data folder is not writable.\n" + "\n" #if defined(Q_OS_MAC) MACOS_HINT #endif -- cgit v1.2.3