Fix the progress ui for Qt 4.2.x.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32824 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-01-07 03:22:45 +00:00
parent e46aee81c5
commit df2ad29d02

View File

@ -64,6 +64,9 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area,
Qt::WindowFlags flags) : DockView(parent, "progress", "Debug/Progress window", area, flags)
{
widget_ = new ProgressViewWidget();
#if QT_VERSION < 0x040300
widget_->scrollArea->setWidget(widget_->scrollAreaWidgetContents);
#endif
setWidget(widget_);
QFont font(guiApp->typewriterFontName());