remove error dialog on win7

This commit is contained in:
Akash Mozumdar 2018-12-27 18:52:59 -05:00
parent 8a88ad3c95
commit 96e9b66e9f

View File

@ -75,6 +75,7 @@ MainWindow::~MainWindow()
QSettings settings(CONFIG_FILE, QSettings::IniFormat); QSettings settings(CONFIG_FILE, QSettings::IniFormat);
settings.setValue(WINDOW, geometry()); settings.setValue(WINDOW, geometry());
settings.sync(); settings.sync();
SetErrorMode(SEM_NOGPFAULTERRORBOX);
ExitProcess(0); ExitProcess(0);
} }