mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Fixed: bAssert did not quit application
This commit is contained in:
@@ -80,10 +80,10 @@ namespace BlackMisc
|
||||
QMessageBox::critical(0, "ASSERT FAILED",
|
||||
QString("%1 %2 %3 () - failed assert: %4").
|
||||
arg(QString(file)).arg(line).arg(QString(function)).arg(QString(exp)));
|
||||
|
||||
#endif
|
||||
|
||||
qApp->quit();
|
||||
exit(1);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user