X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiProgress.cpp;h=0735265384532e891035c4346f3fecb3a128d498;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=ba678f78b6333d46a610c1349542a3b50b9ba7f3;hpb=12efe108db4fa722c480bee7cb8f65e8303c6901;p=lyx.git diff --git a/src/frontends/qt4/GuiProgress.cpp b/src/frontends/qt4/GuiProgress.cpp index ba678f78b6..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,9 +95,9 @@ void GuiProgress::doClearMessages() } -void GuiProgress::dolyxerrFlush() +void GuiProgress::lyxerrFlush() { - appendError(toqstr(lyxerr_stream_.str())); + appendLyXErrMessage(toqstr(lyxerr_stream_.str())); lyxerr_stream_.str(""); }