]> git.sesse.net Git - vlc/commitdiff
Qt: sprefs, add the auto-resize option to the interface panel.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 7 Feb 2009 21:04:34 +0000 (22:04 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 7 Feb 2009 21:04:34 +0000 (22:04 +0100)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_interface.ui

index 8a9e2865a0c2956fc7d703c9adb849d1813353ce..73198d070bcd2876c97334928233c2cbec479d0e 100644 (file)
@@ -483,6 +483,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_GENERIC( "qt-system-tray", Bool, NULL, systrayBox );
             CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
                                  ui.fileSkin, ui.skinBrowse );
+            CONFIG_GENERIC( "qt-video-autoresize", Bool, NULL, resizingBox );
 
             CONFIG_GENERIC( "album-art", IntegerList, ui.artFetchLabel,
                                                       artFetcher );
index 2b01f2b1e67ca0f07f734a02917d33b03250bc80..b4c8c663a9d7f4f41c5ac195d1e4a30e5fc99390 100644 (file)
@@ -5,7 +5,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>693</width>
+    <width>701</width>
     <height>604</height>
    </rect>
   </property>
         </property>
        </widget>
       </item>
-      <item row="2" column="4" colspan="2" >
-       <widget class="QCheckBox" name="systrayBox" >
-        <property name="text" >
-         <string>_("Systray icon")</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="2" colspan="4" >
+      <item row="3" column="2" colspan="2" >
        <widget class="QCheckBox" name="fsController" >
         <property name="text" >
          <string>_("Show a controller in fullscreen")</string>
         </property>
        </widget>
       </item>
+      <item row="3" column="4" colspan="2" >
+       <widget class="QCheckBox" name="systrayBox" >
+        <property name="text" >
+         <string>_("Systray icon")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="4" colspan="2" >
+       <widget class="QCheckBox" name="resizingBox" >
+        <property name="text" >
+         <string>_("Resize interface to video size")</string>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>