From: Peter Kümmel Date: Thu, 21 Oct 2010 00:24:57 +0000 (+0000) Subject: enable EXPORT_in_THREAD to prevent gui calls in non gui-threads X-Git-Tag: 2.0.0~2322 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fc8d5ee0b6f5dc7522ba7ac173b4012d910f5490;p=features.git enable EXPORT_in_THREAD to prevent gui calls in non gui-threads git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35741 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiAlert.cpp b/src/frontends/qt4/GuiAlert.cpp index 6cc39f179a..792a033f06 100644 --- a/src/frontends/qt4/GuiAlert.cpp +++ b/src/frontends/qt4/GuiAlert.cpp @@ -39,7 +39,7 @@ // sync with GuiView.cpp -#define EXPORT_in_THREAD 0 +#define EXPORT_in_THREAD 1 using namespace std; diff --git a/src/frontends/qt4/InGuiThread.cpp b/src/frontends/qt4/InGuiThread.cpp index f26893f7ac..bd47e50e4b 100644 --- a/src/frontends/qt4/InGuiThread.cpp +++ b/src/frontends/qt4/InGuiThread.cpp @@ -51,4 +51,4 @@ void IntoGuiThreadMover::doFunctionCall() } // namespace frontend } // namespace lyx - +#include "moc_InGuiThread.cpp"