mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-18 16:17:03 +00:00
GODT-2179: added handler for exceptions in QML backend methods.
GODT-2179: added custom QApplication class to handle exceptions. GODT-2179: wired sentry report in AppController error handler.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
#include "Pch.h"
|
||||
#include "BridgeApp.h"
|
||||
#include "CommandLine.h"
|
||||
#include "QMLBackend.h"
|
||||
#include "SentryUtils.h"
|
||||
@ -311,7 +312,7 @@ int main(int argc, char *argv[]) {
|
||||
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
|
||||
}
|
||||
|
||||
QApplication guiApp(argc, argv);
|
||||
BridgeApp guiApp(argc, argv);
|
||||
|
||||
try {
|
||||
initQtApplication();
|
||||
|
||||
Reference in New Issue
Block a user