Skip to content

Commit

Permalink
fix eval flsw: do not use GUI stuff in App modules!
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 4, 2017
1 parent 095d462 commit 36b7e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Path/App/Area.h
Expand Up @@ -23,7 +23,7 @@
#ifndef PATH_AREA_H
#define PATH_AREA_H

#include <QApplication>
#include <QCoreApplication>
#include <chrono>
#include <memory>
#include <vector>
Expand All @@ -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");\
Expand Down

0 comments on commit 36b7e03

Please sign in to comment.