author | zautrix <zautrix> | 2004-09-09 21:22:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-09 21:22:38 (UTC) |
commit | 10eb314475b75a162582e8138d465890dbd21806 (patch) (unidiff) | |
tree | 9045f8a02113eedf2f2c59d239e4e43b41c2cdc5 /korganizer/koeventviewerdialog.cpp | |
parent | 5b0e3c87bbe32aacd51f6faff5446ed3838a68e0 (diff) | |
download | kdepimpi-10eb314475b75a162582e8138d465890dbd21806.zip kdepimpi-10eb314475b75a162582e8138d465890dbd21806.tar.gz kdepimpi-10eb314475b75a162582e8138d465890dbd21806.tar.bz2 |
Fixed closing of event viewer
Diffstat (limited to 'korganizer/koeventviewerdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeventviewerdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index be183eb..68c0e1a 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp | |||
@@ -206,34 +206,35 @@ void KOEventViewerDialog::showIncidence() | |||
206 | emit showAgendaView( false ); | 206 | emit showAgendaView( false ); |
207 | return; | 207 | return; |
208 | } | 208 | } |
209 | } else | 209 | } else |
210 | date = mIncidence->dtStart().date(); | 210 | date = mIncidence->dtStart().date(); |
211 | globalFlagBlockAgenda = 1; | 211 | globalFlagBlockAgenda = 1; |
212 | emit showAgendaView( false ); | 212 | emit showAgendaView( false ); |
213 | globalFlagBlockAgenda = 2; | 213 | globalFlagBlockAgenda = 2; |
214 | emit jumpToTime( date ); | 214 | emit jumpToTime( date ); |
215 | } | 215 | } |
216 | } | 216 | } |
217 | void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | 217 | void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) |
218 | { | 218 | { |
219 | switch ( e->key() ) { | 219 | switch ( e->key() ) { |
220 | 220 | ||
221 | case Qt::Key_A : | 221 | case Qt::Key_A : |
222 | case Qt::Key_L : | 222 | case Qt::Key_L : |
223 | showIncidence(); | 223 | showIncidence(); |
224 | break; | 224 | break; |
225 | case Qt::Key_E : | 225 | case Qt::Key_E : |
226 | case Qt::Key_R : | 226 | case Qt::Key_R : |
227 | editIncidence(); | 227 | editIncidence(); |
228 | break; | 228 | break; |
229 | case Qt::Key_C: | 229 | case Qt::Key_C: |
230 | case Qt::Key_Escape: | ||
230 | close(); | 231 | close(); |
231 | break; | 232 | break; |
232 | case Qt::Key_I: | 233 | case Qt::Key_I: |
233 | accept(); | 234 | accept(); |
234 | break; | 235 | break; |
235 | default: | 236 | default: |
236 | break; | 237 | break; |
237 | } | 238 | } |
238 | 239 | ||
239 | } | 240 | } |