]> git.lyx.org Git - features.git/commitdiff
Don't process gui events by default it's too dangerous because we have no synchroniza...
authorPeter Kümmel <syntheticpp@gmx.net>
Sat, 19 Dec 2009 20:33:30 +0000 (20:33 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sat, 19 Dec 2009 20:33:30 +0000 (20:33 +0000)
And not needed any more because we export buffers in a thread.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32597 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/Systemcall.cpp
src/support/Systemcall.h

index 13a000157973ba8e59a66ee54894205902b616fe..f5bd7254f0de0cc8aca0c1aea3e3610e39dafce2 100644 (file)
@@ -232,7 +232,6 @@ void SystemcallPrivate::startProcess(const QString& cmd)
 void SystemcallPrivate::processEvents()
 {
        if(process_events) {
-               //static int count = 0; qDebug() << count++ << ": waitAndProcessEvents";
                QCoreApplication::processEvents(QEventLoop::AllEvents);
        }
 }
index fcd836c0db99088ae25796e5d285ea4aff9a06e0..6d7d708e057e4e7eb1e4db4d1d6534fc2e9c5809 100644 (file)
@@ -43,7 +43,7 @@ public:
         *  by spaces. Unset "process_events" in case UI should be blocked while
         *  processing the external command.
         */
-       int startscript(Starttype how, std::string const & what, bool process_events = true);
+       int startscript(Starttype how, std::string const & what, bool process_events = false);
 };
 
 } // namespace support