We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9016d8b commit 82bf504Copy full SHA for 82bf504
1 file changed
mainwindow.cpp
@@ -487,8 +487,8 @@ QString MainWindow::find_config_file(const char *filename) {
487
QString cfgfilepath = path + QDir::separator() + defaultCfgFilename;
488
if (QFileInfo::exists(cfgfilepath)) return cfgfilepath;
489
}
490
- QMessageBox(QMessageBox::Warning, "No config file not found",
491
- QStringLiteral("No default config file could be found"), QMessageBox::Ok, this);
+ QMessageBox::warning(this, "No config file not found",
+ QStringLiteral("No default config file could be found"), "Continue with default config");
492
return "";
493
494
0 commit comments