diff --git a/src/Mod/Path/App/Area.h b/src/Mod/Path/App/Area.h index 336562c59..fa67c90c7 100644 --- a/src/Mod/Path/App/Area.h +++ b/src/Mod/Path/App/Area.h @@ -23,7 +23,7 @@ #ifndef PATH_AREA_H #define PATH_AREA_H -#include +#include #include #include #include @@ -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");\