X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiProgressView.cpp;h=004c70e86a69b1348dd07b434bd23c2775caa846;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=e9d249986adcd121be97e11425a417eacfb9980a;hpb=5218e4ace07aba056b9453b570862202bd2c7c0e;p=lyx.git diff --git a/src/frontends/qt4/GuiProgressView.cpp b/src/frontends/qt4/GuiProgressView.cpp index e9d249986a..004c70e86a 100644 --- a/src/frontends/qt4/GuiProgressView.cpp +++ b/src/frontends/qt4/GuiProgressView.cpp @@ -53,6 +53,8 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area, { widget_ = new ProgressViewWidget(); widget_->setMinimumHeight(150); + widget_->debugMessagesTW->setSizePolicy(QSizePolicy::Ignored, + QSizePolicy::Expanding); widget_->adjustSize(); setWidget(widget_); @@ -171,6 +173,8 @@ void GuiProgressView::appendLyXErrText(QString const & text) // showing Debug::ANY messages completely blocks the GUI. // Text is not always send as the whole line, so we must be // careful about eolns. + // WARNING: processing events could cause crashes! + // TODO: find a better solution if (text.endsWith("\n")) QApplication::processEvents(); }