diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index b4faf570..90c15ccd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -578,8 +578,8 @@ int main(int argc, char *argv[]) try {
dataPath = InstanceManager::instance().determineDataPath();
} catch (const std::exception &e) {
- QMessageBox::critical(nullptr, QObject::tr("Failed to set up instance"),
- e.what());
+ if (strcmp(e.what(),"Canceled"))
+ QMessageBox::critical(nullptr, QObject::tr("Failed to set up instance"), e.what());
return 1;
}
application.setProperty("dataPath", dataPath);
|
