From 549fec162881a8422b602d2d4592f44574fd8927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 3 May 2017 21:44:59 +0200 Subject: [PATCH] GUI: Try to clarify --data-dir message --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 9e9bc7dbb..affc05186 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -803,7 +803,7 @@ Settings MainWindow::GetCppcheckSettings() windows = TryLoadLibrary(&result.library, "windows.cfg"); if (!std || !posix || !windows) - QMessageBox::critical(this, tr("Error"), tr("Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir= at the command line to specify where this file is located.").arg(!std ? "std.cfg" : !posix ? "posix.cfg" : "windows.cfg")); + QMessageBox::critical(this, tr("Error"), tr("Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir= at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured.").arg(!std ? "std.cfg" : !posix ? "posix.cfg" : "windows.cfg")); if (result.jobs <= 1) { result.jobs = 1;