From 36b7e0338b75fe051487980d056daea9dd6d7f2c Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 4 Feb 2017 18:19:00 +0100 Subject: [PATCH] fix eval flsw: do not use GUI stuff in App modules! --- src/Mod/Path/App/Area.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");\