]> git.sesse.net Git - vlc/commitdiff
qt4 - Simple Preferences: add the overlay option to the video preferences panel.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 May 2007 21:19:35 +0000 (21:19 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 May 2007 21:19:35 +0000 (21:19 +0000)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_video.ui

index 58f007c0747ede2ec82e748e722477c3c8d88955..5833c072b01632d6f8819d3885c1c3db30fcb536 100644 (file)
@@ -172,7 +172,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_GENERIC( "overlay", Bool, NULL, overlay );
             CONFIG_GENERIC( "video-on-top", Bool, NULL, alwaysOnTop );
             CONFIG_GENERIC( "video-deco", Bool, NULL, windowDecorations );
-            CONFIG_GENERIC( "skip-frames" , Bool, NULL, skipFrames);
+            CONFIG_GENERIC( "skip-frames" , Bool, NULL, skipFrames );
+            CONFIG_GENERIC( "overlay", Bool, NULL, overlay );
             CONFIG_GENERIC( "vout", Module, NULL, outputModule );
 
 #ifdef WIN32
index db9997d37b76ca53375e4ad3e563152904629e80..db673409051366cc430064f99ae9df614fb8deaf 100644 (file)
         </property>
        </widget>
       </item>
+      <item row="2" column="2" >
+       <widget class="QCheckBox" name="overlay" >
+        <property name="text" >
+         <string>Overlay</string>
+        </property>
+        <property name="checked" >
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>