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:
parent
628010f7dc
commit
a7b0c0c476
@ -853,7 +853,8 @@ void RclMain::initiateQuery()
|
|||||||
progress.show();
|
progress.show();
|
||||||
qApp->processEvents();
|
qApp->processEvents();
|
||||||
if (progress.wasCanceled()) {
|
if (progress.wasCanceled()) {
|
||||||
fileExit();
|
// Just get out of there asap.
|
||||||
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
qApp->processEvents();
|
qApp->processEvents();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user