mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
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:
parent
b677e23c58
commit
ea6d20295a
@ -232,7 +232,6 @@ void SystemcallPrivate::startProcess(const QString& cmd)
|
|||||||
void SystemcallPrivate::processEvents()
|
void SystemcallPrivate::processEvents()
|
||||||
{
|
{
|
||||||
if(process_events) {
|
if(process_events) {
|
||||||
//static int count = 0; qDebug() << count++ << ": waitAndProcessEvents";
|
|
||||||
QCoreApplication::processEvents(QEventLoop::AllEvents);
|
QCoreApplication::processEvents(QEventLoop::AllEvents);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
* by spaces. Unset "process_events" in case UI should be blocked while
|
* by spaces. Unset "process_events" in case UI should be blocked while
|
||||||
* processing the external command.
|
* 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
|
} // namespace support
|
||||||
|
Loading…
Reference in New Issue
Block a user