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
This commit is contained in:
Peter Kümmel 2009-12-19 20:33:30 +00:00
parent b677e23c58
commit ea6d20295a
2 changed files with 1 additions and 2 deletions

View 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);
}
}

View 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