Use crash catcher in launcher

pull/3226/head
elsid 3 years ago
parent fbc84465c5
commit a21c17ab26
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -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…
Cancel
Save