From: Jean-Baptiste Kempf Date: Thu, 5 Apr 2007 22:33:27 +0000 (+0000) Subject: Qt4 - virtual bug once again. Add debug... X-Git-Tag: 0.9.0-test0~7810 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=19775ff82740cebdb58f4106b078784006c8c9d5;p=vlc Qt4 - virtual bug once again. Add debug... --- diff --git a/modules/gui/qt4/util/qvlcframe.hpp b/modules/gui/qt4/util/qvlcframe.hpp index 1bf5ee8445..776084f753 100644 --- a/modules/gui/qt4/util/qvlcframe.hpp +++ b/modules/gui/qt4/util/qvlcframe.hpp @@ -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(); } }