]> git.sesse.net Git - vlc/commitdiff
correct a compilation error specific to QT4.3
authorErwan Tulou <brezhoneg1@yahoo.fr>
Thu, 26 Mar 2009 09:30:56 +0000 (10:30 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Fri, 27 Mar 2009 01:09:53 +0000 (01:09 +0000)
(gridLayout naming is hardcoded and seems to have changed)

Acked-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/ui/open_file.ui

index 159704a3aaa42f73eb6229f237f72c92485564c0..75900fe094d1853401be0abcfcedad9e5dc9b67c 100644 (file)
@@ -149,7 +149,7 @@ inline void FileOpenPanel::BuildOldPanel()
     /** END of QFileDialog tweaking **/
 
     // Add the DialogBox to the layout
-    ui.gridLayout_3->addWidget( dialogBox, 0, 0, 1, 3 );
+    ui.gridLayout->addWidget( dialogBox, 0, 0, 1, 3 );
 
     CONNECT( lineFileEdit, textChanged( QString ), this, updateMRL() );
     dialogBox->installEventFilter( this );
index d7967e03d535595bec2326b9936beaf7b9b11835..c4795880d93de6189116a1064eea0b2e7f5e7a96 100644 (file)
@@ -20,7 +20,7 @@
   <property name="windowTitle">
    <string>Open File</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout_3">
+  <layout class="QGridLayout" name="gridLayout">
    <item row="0" column="0">
     <widget class="QGroupBox" name="tempWidget">
      <property name="toolTip">
@@ -29,7 +29,7 @@
      <property name="title">
       <string>File Selection</string>
      </property>
-     <layout class="QGridLayout" name="gridLayout">
+     <layout class="QGridLayout" name="gridLayout1">
       <item row="0" column="0" colspan="3">
        <widget class="QLabel" name="label">
         <property name="text">
      <property name="frameShape">
       <enum>QFrame::StyledPanel</enum>
      </property>
-     <layout class="QGridLayout" name="gridLayout_2">
+     <layout class="QGridLayout" name="gridLayout2">
       <item row="1" column="0">
        <spacer>
         <property name="orientation">