]> git.sesse.net Git - kdenlive/commitdiff
Fix runtime warnings about QAction::setShortcut()
authorRay Lehtiniemi <rayl@mail.com>
Sun, 5 Apr 2009 23:56:24 +0000 (23:56 +0000)
committerRay Lehtiniemi <rayl@mail.com>
Sun, 5 Apr 2009 23:56:24 +0000 (23:56 +0000)
These members referred to the QAction base class of the KAction
objects.  This bypassed the overridden KAction::setShortcut()
method, which triggered warnings at runtime.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
svn path=/trunk/kdenlive/; revision=3232

src/mainwindow.h

index ec949c45261462f065af53a521a4ba4dbfa088a2..fbf3fdcab05d224a41327bbc4aa0842660fce96c 100644 (file)
@@ -168,8 +168,8 @@ private:
     KAction *m_saveAction;
     KAction *m_closeAction;
     QSlider *m_zoomSlider;
-    QAction *m_loopZone;
-    QAction *m_playZone;
+    KAction *m_loopZone;
+    KAction *m_playZone;
     StatusBarMessageLabel *m_messageLabel;
     QActionGroup *m_clipTypeGroup;