From: Peter Kümmel Date: Sat, 19 Dec 2009 20:33:30 +0000 (+0000) Subject: Don't process gui events by default it's too dangerous because we have no synchroniza... X-Git-Tag: 2.0.0~4754 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ea6d20295a9a772dca51321ee3633f57eca3e090;p=features.git Don't process gui events by default it's too dangerous because we have no synchronization ATM. 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 --- diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index 13a0001579..f5bd7254f0 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -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); } } diff --git a/src/support/Systemcall.h b/src/support/Systemcall.h index fcd836c0db..6d7d708e05 100644 --- a/src/support/Systemcall.h +++ b/src/support/Systemcall.h @@ -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