author | zautrix <zautrix> | 2005-03-08 11:09:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-08 11:09:44 (UTC) |
commit | 90f53697a44fdcccec00ef8c53fe5c9c15aca713 (patch) (side-by-side diff) | |
tree | 85d2e38b4ccffbc5414c22938d8c6fccd3cf8b58 /libkdepim/kdatepicker.cpp | |
parent | 91e7aeec0b15d28eb263c0699fdce4a00a3669c6 (diff) | |
download | kdepimpi-90f53697a44fdcccec00ef8c53fe5c9c15aca713.zip kdepimpi-90f53697a44fdcccec00ef8c53fe5c9c15aca713.tar.gz kdepimpi-90f53697a44fdcccec00ef8c53fe5c9c15aca713.tar.bz2 |
menu cleanup
-rw-r--r-- | libkdepim/kdatepicker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkdepim/kdatepicker.cpp b/libkdepim/kdatepicker.cpp index 77793c4..6cb432b 100644 --- a/libkdepim/kdatepicker.cpp +++ b/libkdepim/kdatepicker.cpp @@ -457,30 +457,32 @@ void KDatePicker::virtual_hook( int id, void* data ) { /*BASE::virtual_hook( id, data );*/ } void KDatePicker::keyPressEvent ( QKeyEvent * e ) { switch ( e->key() ) { case Qt::Key_Right: monthForwardClicked(); break; case Qt::Key_Left: monthBackwardClicked(); break; case Qt::Key_Down: yearForwardClicked(); break; case Qt::Key_Up: yearBackwardClicked(); break; case Qt::Key_Return: tableClickedSlot(); break; - + case Qt::Key_Escape: + e->ignore(); + break; default: break; } } |