]> git.sesse.net Git - kdenlive/commitdiff
Add option to hide mouse cursor when screen grab:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 7 Jan 2010 02:14:46 +0000 (02:14 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 7 Jan 2010 02:14:46 +0000 (02:14 +0000)
http://kdenlive.org/mantis/view.php?id=1373

svn path=/trunk/kdenlive/; revision=4216

src/kdenlivesettings.kcfg
src/recmonitor.cpp
src/widgets/configcapture_ui.ui

index d705cbe1e5bfe53e70d7ef49be436c75fb3b17c2..abc9dd9193dd925c68fc3c3ed3d464c3d1a884e3 100644 (file)
       <default>false</default>
     </entry>
 
+    <entry name="rmd_hide_mouse" type="Bool">
+      <label>Hide mouse cursor.</label>
+      <default>false</default>
+    </entry>
 
     <entry name="dvgrab_path" type="String">
       <label>Path for the dvgrab binary.</label>
index 3a850f2481b8353201bd53604cbb72d181b374d4..5bda03a87412ec63821cd6802f186449cd20268d 100644 (file)
@@ -495,6 +495,7 @@ void RecMonitor::slotRecord()
                 }
                 break;
             }
+            if (KdenliveSettings::rmd_hide_mouse()) m_captureArgs << "--no-cursor";
             m_isCapturing = true;
             if (KdenliveSettings::rmd_capture_audio()) {
                 m_captureArgs << "-freq" << KdenliveSettings::rmd_freq();
index 26453fafd98827f59845353c38a9460cc49198da..aec90ae24ac94d893574558791fa8d66ea8ac298 100644 (file)
               </property>
              </widget>
             </item>
+            <item>
+             <widget class="QCheckBox" name="kcfg_rmd_hide_mouse">
+              <property name="text">
+               <string>Hide cursor</string>
+              </property>
+             </widget>
+            </item>
             <item>
              <spacer name="horizontalSpacer_4">
               <property name="orientation">