We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab0e08 commit 3f481adCopy full SHA for 3f481ad
mainwindow.cpp
@@ -470,7 +470,7 @@ QString MainWindow::replaceFilename(QString fullfile) const {
470
QString MainWindow::find_config_file(const char *filename) {
471
if (filename) {
472
QString qfilename(filename);
473
- if (QFileInfo::exists(qfilename))
+ if (!QFileInfo::exists(qfilename))
474
QMessageBox(QMessageBox::Warning, "Config file not found",
475
QStringLiteral("The file '%1' doesn't exist").arg(qfilename), QMessageBox::Ok,
476
this);
0 commit comments