From ea6d20295a9a772dca51321ee3633f57eca3e090 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Sat, 19 Dec 2009 20:33:30 +0000 Subject: [PATCH] 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 --- src/support/Systemcall.cpp | 1 - src/support/Systemcall.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5