fix eval flsw: do not use GUI stuff in App modules!
This commit is contained in:
parent
095d462cba
commit
36b7e0338b
|
@ -23,7 +23,7 @@
|
|||
#ifndef PATH_AREA_H
|
||||
#define PATH_AREA_H
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -43,7 +43,7 @@
|
|||
str << "Path.Area: " << _msg;\
|
||||
Base::Console()._l("%s\n",str.str().c_str());\
|
||||
}\
|
||||
qApp->sendPostedEvents();\
|
||||
QCoreApplication::sendPostedEvents();\
|
||||
if(Area::aborting()) {\
|
||||
Area::abort(false);\
|
||||
throw Base::AbortException("operation aborted");\
|
||||
|
|
Loading…
Reference in New Issue
Block a user