On Sun, Jan 16, 2011 at 02:19:57PM +0100, Pavel Sanda wrote: > i like it more than having mutexes on 10 different places. on the > other hand i'm little bit afraid about unintended side effects of this > patch :) lets wait what other say.
What about the simple and effective attached patch? SCNR -- Enrico
Index: src/frontends/qt4/GuiAlert.cpp =================================================================== --- src/frontends/qt4/GuiAlert.cpp (revisione 37214) +++ src/frontends/qt4/GuiAlert.cpp (copia locale) @@ -39,7 +39,7 @@ // sync with GuiView.cpp -#define EXPORT_in_THREAD 1 +#define EXPORT_in_THREAD 0 using namespace std; Index: src/frontends/qt4/GuiView.cpp =================================================================== --- src/frontends/qt4/GuiView.cpp (revisione 37214) +++ src/frontends/qt4/GuiView.cpp (copia locale) @@ -109,7 +109,7 @@ -#define EXPORT_in_THREAD 1 +#define EXPORT_in_THREAD 0 // QtConcurrent was introduced in Qt 4.4 #if (QT_VERSION >= 0x040400)