Qt4 - virtual bug once again. Add debug...
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 5 Apr 2007 22:33:27 +0000 (22:33 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 5 Apr 2007 22:33:27 +0000 (22:33 +0000)
modules/gui/qt4/util/qvlcframe.hpp

index 1bf5ee8..776084f 100644 (file)
@@ -106,11 +106,11 @@ protected:
         settings.setValue( "pos", pos() );
         settings.endGroup();
     }
-    void cancel()
+    virtual void cancel()
     {
         hide();
     }
-    void close()
+    virtual void close()
     {
         hide();
     }
@@ -122,6 +122,7 @@ protected:
         }
         else if( keyEvent->key() == Qt::Key_Enter )
         {
+            msg_Dbg( p_intf, "Enter Key pressed" );
             close();
         }
     }
@@ -159,6 +160,7 @@ protected:
         }
         else if( keyEvent->key() == Qt::Key_Enter )
         {
+            msg_Dbg( p_intf, "Enter Key pressed" );
             close();
         }
     }