From 3f371011f95c0eb8053f1f922735c8e595123b3f Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 24 Sep 2009 14:28:14 +0000 Subject: [PATCH] Fix FindAndReplace dialog for Qt < 4.4.0. 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 | 3 +++ 1 file changed, 3 insertions(+) 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_); -- 2.39.2