From: Jean-Baptiste Kempf Date: Thu, 28 Jun 2007 16:51:33 +0000 (+0000) Subject: Qt4.3 compatibility. X-Git-Tag: 0.9.0-test0~6914 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=560b8d0c7da9a4181d72f64994243da517665b4e Qt4.3 compatibility. --- 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 */