From 96e9b66e9f0a468686b0f9929f0a0bb2fa655a9e Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Thu, 27 Dec 2018 18:52:59 -0500 Subject: [PATCH] remove error dialog on win7 --- GUI/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index 3ddbfb2..5399f05 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -75,6 +75,7 @@ MainWindow::~MainWindow() QSettings settings(CONFIG_FILE, QSettings::IniFormat); settings.setValue(WINDOW, geometry()); settings.sync(); + SetErrorMode(SEM_NOGPFAULTERRORBOX); ExitProcess(0); }