Commit 19775ff8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - virtual bug once again. Add debug...

parent 766acd38
...@@ -106,11 +106,11 @@ protected: ...@@ -106,11 +106,11 @@ protected:
settings.setValue( "pos", pos() ); settings.setValue( "pos", pos() );
settings.endGroup(); settings.endGroup();
} }
void cancel() virtual void cancel()
{ {
hide(); hide();
} }
void close() virtual void close()
{ {
hide(); hide();
} }
...@@ -122,6 +122,7 @@ protected: ...@@ -122,6 +122,7 @@ protected:
} }
else if( keyEvent->key() == Qt::Key_Enter ) else if( keyEvent->key() == Qt::Key_Enter )
{ {
msg_Dbg( p_intf, "Enter Key pressed" );
close(); close();
} }
} }
...@@ -159,6 +160,7 @@ protected: ...@@ -159,6 +160,7 @@ protected:
} }
else if( keyEvent->key() == Qt::Key_Enter ) else if( keyEvent->key() == Qt::Key_Enter )
{ {
msg_Dbg( p_intf, "Enter Key pressed" );
close(); close();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment