use _exit() to cancel a slow query, the normal exit waits for who knows what and we just want out here

This commit is contained in:
Jean-Francois Dockes 2013-02-26 10:36:03 +01:00
parent 628010f7dc
commit a7b0c0c476

View File

@ -853,7 +853,8 @@ void RclMain::initiateQuery()
progress.show();
qApp->processEvents();
if (progress.wasCanceled()) {
fileExit();
// Just get out of there asap.
_exit(1);
}
qApp->processEvents();