GUI: Try to clarify --data-dir message

This commit is contained in:
Daniel Marjamäki 2017-05-03 21:44:59 +02:00
parent 9d54ffd521
commit 549fec1628
1 changed files with 1 additions and 1 deletions

View File

@ -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=<directory> 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=<directory> 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;