Add option to disable embedded video in the simple prefs.
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 5 Sep 2008 00:19:45 +0000 (02:19 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 5 Sep 2008 00:19:45 +0000 (02:19 +0200)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_video.ui

index dd6ea8d..74fa6f4 100644 (file)
@@ -188,6 +188,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_GENERIC( "video-on-top", Bool, NULL, alwaysOnTop );
             CONFIG_GENERIC( "video-deco", Bool, NULL, windowDecorations );
             CONFIG_GENERIC( "skip-frames" , Bool, NULL, skipFrames );
+            CONFIG_GENERIC( "embedded-video", Bool, NULL, embeddedVideo );
             CONFIG_GENERIC( "vout", Module, NULL, outputModule );
 
 #ifdef WIN32
index bcb7853..9013119 100644 (file)
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>408</width>
+    <width>526</width>
     <height>513</height>
    </rect>
   </property>
         </property>
        </widget>
       </item>
-      <item row="3" column="1" colspan="2" >
+      <item row="4" column="1" colspan="2" >
        <widget class="QComboBox" name="outputModule" />
       </item>
-      <item row="3" column="0" >
+      <item row="4" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
          <string>_("Output")</string>
         </property>
        </widget>
       </item>
+      <item row="2" column="2" >
+       <widget class="QCheckBox" name="embeddedVideo" >
+        <property name="text" >
+         <string>_("Embedded video")</string>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>
        </widget>
       </item>
      </layout>
+     <zorder>dXdisplayDevice</zorder>
+     <zorder>label_5</zorder>
+     <zorder>wallpaperMode</zorder>
+     <zorder>displayBox</zorder>
     </widget>
    </item>
    <item>