]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiProgressView.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiProgressView.cpp
index e9d249986adcd121be97e11425a417eacfb9980a..004c70e86a69b1348dd07b434bd23c2775caa846 100644 (file)
@@ -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();
 }