mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 03:19:44 +00:00
Use crash catcher in launcher
This commit is contained in:
parent
fbc84465c5
commit
a21c17ab26
@ -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 New Issue
Block a user