mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:45:36 +00:00
Use crash catcher in launcher
This commit is contained in:
parent
fbc84465c5
commit
a21c17ab26
1 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
#include <QTextCodec>
|
||||
#include <QDir>
|
||||
|
||||
#include <components/debug/debugging.hpp>
|
||||
|
||||
#ifdef MAC_OS_X_VERSION_MIN_REQUIRED
|
||||
#undef MAC_OS_X_VERSION_MIN_REQUIRED
|
||||
// We need to do this because of Qt: https://bugreports.qt-project.org/browse/QTBUG-22154
|
||||
|
@ -12,7 +14,7 @@
|
|||
|
||||
#include "maindialog.hpp"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int runLauncher(int argc, char *argv[])
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -49,3 +51,8 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
return wrapApplication(runLauncher, argc, argv, "Launcher");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue