Commit 69b25068 authored by André Wöbbeking's avatar André Wöbbeking
Browse files

-Woverloaded-virtual fix

maybe focusOutEvent() works if you override it correctly ;-)

svn path=/trunk/KDE/kdegames/ksudoku/; revision=745092
parent 404ade15
......@@ -169,7 +169,7 @@ void QSudokuButton::enterEvent (QEvent *)
m_mousein = true;
}
void QSudokuButton::focusOutEvent (QEvent *)
void QSudokuButton::focusOutEvent (QFocusEvent *)
{//TODO it does not work
emit finishHighlight();
}
......
......@@ -77,7 +77,7 @@ public:
void exitEvent (QEvent*);
void leaveEvent(QEvent*);
void keyReleaseEvent( QKeyEvent* e );
void focusOutEvent (QEvent *);
void focusOutEvent (QFocusEvent *);
void keyPressEvent ( QKeyEvent* e );
void updateData();
......
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