From fc8d5ee0b6f5dc7522ba7ac173b4012d910f5490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Thu, 21 Oct 2010 00:24:57 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiAlert.cpp | 2 +- src/frontends/qt4/InGuiThread.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"