]> git.lyx.org Git - features.git/commitdiff
Fix FindAndReplace dialog for Qt < 4.4.0.
authorEnrico Forestieri <forenr@lyx.org>
Thu, 24 Sep 2009 14:28:14 +0000 (14:28 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 24 Sep 2009 14:28:14 +0000 (14:28 +0000)
For reasons unknown to me, this also fixes the scroll bar issue!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31463 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/FindAndReplace.cpp

index 64d38f60c33bd349359dfdf62b4ff468ddc09e38..6fb9605b9bd67265b5a13ee0f7b1b203b70415c9 100644 (file)
@@ -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_);