Diffstat (limited to 'korganizer/koeventviewerdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeventviewerdialog.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index baa11b5..e5ff8af 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp | |||
@@ -215,12 +215,9 @@ void KOEventViewerDialog::editIncidence() | |||
215 | accept(); | 215 | accept(); |
216 | return; | 216 | return; |
217 | } | 217 | } |
218 | if ( mIncidence ){ | 218 | if ( mIncidence ){ |
219 | #ifndef DESKTOP_VERSION | ||
220 | //hide(); | ||
221 | close(); | 219 | close(); |
222 | #endif | ||
223 | emit editIncidence( mIncidence ); | 220 | emit editIncidence( mIncidence ); |
224 | } | 221 | } |
225 | } | 222 | } |
226 | void KOEventViewerDialog::showIncidence() | 223 | void KOEventViewerDialog::showIncidence() |
@@ -253,11 +250,9 @@ void KOEventViewerDialog::showIncidence() | |||
253 | emit showAgendaView( false ); | 250 | emit showAgendaView( false ); |
254 | globalFlagBlockAgenda = 2; | 251 | globalFlagBlockAgenda = 2; |
255 | emit jumpToTime( date ); | 252 | emit jumpToTime( date ); |
256 | } | 253 | } |
257 | #ifndef DESKTOP_VERSION | 254 | close(); |
258 | reject(); | ||
259 | #endif | ||
260 | } | 255 | } |
261 | } | 256 | } |
262 | void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | 257 | void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) |
263 | { | 258 | { |