SLOT(doError(QString const &, QString const &)));
connect(this, SIGNAL(information(QString const &, QString const &)),
SLOT(doInformation(QString const &, QString const &)));
+ connect(this, SIGNAL(triggerFlush()),
+ SLOT(startFlushing()));
flushDelay_.setInterval(200);
flushDelay_.setSingleShot(true);
}
-void GuiProgress::lyxerrFlush()
+void GuiProgress::startFlushing()
{
flushDelay_.start();
}
+void GuiProgress::lyxerrFlush()
+{
+ triggerFlush();
+}
+
+
void GuiProgress::updateWithLyXErr()
{
appendLyXErrMessage(toqstr(lyxerr_stream_.str()));