diff --git a/src/frontends/qt4/FindAndReplace.cpp b/src/frontends/qt4/FindAndReplace.cpp index 64d38f60c3..6fb9605b9b 100644 --- a/src/frontends/qt4/FindAndReplace.cpp +++ b/src/frontends/qt4/FindAndReplace.cpp @@ -47,6 +47,9 @@ FindAndReplaceWidget::FindAndReplaceWidget(GuiView & view) : view_(view) { setupUi(this); +#if QT_VERSION < 0x040400 + scrollArea->setWidget(scrollAreaWidgetContents); +#endif find_work_area_->setGuiView(view_); find_work_area_->init(); setFocusProxy(find_work_area_);