git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cdf64af
)
Qt4.3 compatibility.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Thu, 28 Jun 2007 16:51:33 +0000
(16:51 +0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Thu, 28 Jun 2007 16:51:33 +0000
(16:51 +0000)
modules/gui/qt4/components/open.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/components/open.cpp
b/modules/gui/qt4/components/open.cpp
index
e804166
..
f5db04e
100644
(file)
--- 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.
/* Ugly hacks to get the good Widget */
//This lineEdit is the normal line in the fileDialog.
+#if QT_VERSION >= 0x040300
+ lineFileEdit = findChildren<QLineEdit*>()[2];
+#else
lineFileEdit = findChildren<QLineEdit*>()[3];
lineFileEdit = findChildren<QLineEdit*>()[3];
+#endif
lineFileEdit->hide();
/* Make a list of QLabel inside the QFileDialog to access the good ones */
lineFileEdit->hide();
/* Make a list of QLabel inside the QFileDialog to access the good ones */