]> git.lyx.org Git - features.git/commitdiff
enable EXPORT_in_THREAD to prevent gui calls in non gui-threads
authorPeter Kümmel <syntheticpp@gmx.net>
Thu, 21 Oct 2010 00:24:57 +0000 (00:24 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Thu, 21 Oct 2010 00:24:57 +0000 (00:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35741 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiAlert.cpp
src/frontends/qt4/InGuiThread.cpp

index 6cc39f179a2c63fe1b02224432b83c59a1e14811..792a033f0657e1d5217363bf8002e233a6651d81 100644 (file)
@@ -39,7 +39,7 @@
 
 
 // sync with GuiView.cpp
-#define EXPORT_in_THREAD 0
+#define EXPORT_in_THREAD 1
 
 
 using namespace std;
index f26893f7ac749574d2c8cd4539dfa3344aedcdd1..bd47e50e4b6e7c2ddc65f45e9fd4a8f961517fdf 100644 (file)
@@ -51,4 +51,4 @@ void IntoGuiThreadMover::doFunctionCall()
 } // namespace frontend
 } // namespace lyx
 
-
+#include "moc_InGuiThread.cpp"