X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiProgress.cpp;h=0735265384532e891035c4346f3fecb3a128d498;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=bcec51b4f073a538a2e0db9950a3087b102ad633;hpb=1cbab9937b67d2d4df1c95b2b91a586f57740225;p=lyx.git diff --git a/src/frontends/qt4/GuiProgress.cpp b/src/frontends/qt4/GuiProgress.cpp index bcec51b4f0..0735265384 100644 --- a/src/frontends/qt4/GuiProgress.cpp +++ b/src/frontends/qt4/GuiProgress.cpp @@ -48,7 +48,6 @@ GuiProgress::GuiProgress(GuiView * view) : view_(view) connect(this, SIGNAL(appendMessage(QString const &)), SLOT(doAppendMessage(QString const &))); connect(this, SIGNAL(appendError(QString const &)), SLOT(doAppendError(QString const &))); connect(this, SIGNAL(clearMessages()), SLOT(doClearMessages())); - connect(this, SIGNAL(lyxerrFlush()), SLOT(dolyxerrFlush())); // Alert interface connect(this, SIGNAL(warning(QString const &, QString const &)), @@ -67,20 +66,20 @@ GuiProgress::GuiProgress(GuiView * view) : view_(view) void GuiProgress::doProcessStarted(QString const & cmd) { QString time = QTime::currentTime().toString(); - appendText(time + ": <" + cmd + "> started\n"); + appendText(time + ": <" + cmd + "> started"); } void GuiProgress::doProcessFinished(QString const & cmd) { QString time = QTime::currentTime().toString(); - appendText(time + ": <" + cmd + "> done\n"); + appendText(time + ": <" + cmd + "> done"); } void GuiProgress::doAppendMessage(QString const & msg) { - appendText(msg + "\n"); + appendText(msg); } @@ -96,13 +95,10 @@ void GuiProgress::doClearMessages() } -void GuiProgress::dolyxerrFlush() +void GuiProgress::lyxerrFlush() { appendLyXErrMessage(toqstr(lyxerr_stream_.str())); lyxerr_stream_.str(""); - // give the user a chance to disable debug messages because - // showing Debug::ANY messages completely blocks the GUI - QApplication::processEvents(); }