diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 00893b17..fb466939 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1896,7 +1896,7 @@ void MainWindow::checkInstancePathForProblems() warning.setDefaultButton(QMessageBox::Ok); warning.exec(); } - else if (pathfoldername.contains(QDir::tempPath())) + else if (pathfoldername.startsWith(QDir::tempPath())) { QMessageBox warning(this); warning.setText(tr("Your instance folder is in a temporary folder: \'%1\'!").arg(QDir::tempPath()));