From 560b8d0c7da9a4181d72f64994243da517665b4e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 28 Jun 2007 16:51:33 +0000 Subject: [PATCH] Qt4.3 compatibility. --- modules/gui/qt4/components/open.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gui/qt4/components/open.cpp b/modules/gui/qt4/components/open.cpp index e804166f3b..f5db04e704 100644 --- a/modules/gui/qt4/components/open.cpp +++ b/modules/gui/qt4/components/open.cpp @@ -87,7 +87,11 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : /* Ugly hacks to get the good Widget */ //This lineEdit is the normal line in the fileDialog. +#if QT_VERSION >= 0x040300 + lineFileEdit = findChildren()[2]; +#else lineFileEdit = findChildren()[3]; +#endif lineFileEdit->hide(); /* Make a list of QLabel inside the QFileDialog to access the good ones */ -- 2.20.1