diff --git a/app/main.cpp b/app/main.cpp index 7d40d4466..43df2a9f6 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -573,6 +573,9 @@ int main( int argc, char *argv[] ) CoreUtils::log( QStringLiteral( "AppState" ), QStringLiteral( "Application has quit" ) ); } ); + // this fixes the error dump from C++ defined QML components, when quiting application + QObject::connect( &app, &QCoreApplication::aboutToQuit, &engine, &QQmlEngine::deleteLater ); + QObject::connect( &help, &InputHelp::submitReportSuccessful, &lambdaContext, [¬ificationModel]() { notificationModel.addSuccess( QObject::tr( "Report submitted. Please contact the support" ) );