diff options
| author | Tannin <devnull@localhost> | 2014-04-16 22:32:59 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-04-16 22:32:59 +0200 |
| commit | 540747177ae02c9431d33a2c3adc1f747b74b868 (patch) | |
| tree | 2c6964ea98dd369ab079d10b46cb008729cccdcd /src/main.cpp | |
| parent | 739c3424e7c058f972a2648f2231e6a10c59662d (diff) | |
- loot client no longer stalls the process while waiting for masterlist update
- configurator now gives better warning messages when encountering an invalid ini file
- bugfix: crash on cleanup up browser dialog
- bugfix: GetCurrentDirectory returned wrong string length
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d1c5e263..3b89e721 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -536,7 +536,12 @@ int main(int argc, char *argv[]) arguments.removeFirst(); // remove application name (ModOrganizer.exe) arguments.removeFirst(); // remove binary name // pass the remaining parameters to the binary - mainWindow.startApplication(exeName, arguments, QString(), selectedProfileName); + try { + mainWindow.startApplication(exeName, arguments, QString(), selectedProfileName); + } catch (const std::exception &e) { + reportError(QObject::tr("failed to start application: %1").arg(e.what())); + } + return 0; } |
