author | zautrix <zautrix> | 2005-04-14 18:55:22 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-14 18:55:22 (UTC) |
commit | 2a449f785f955649df9de639d38dcb250fe1376d (patch) (side-by-side diff) | |
tree | 41aa30a1267ca70f4b9b8c07be26b3c577dc2874 | |
parent | d334d77ab00b91b9527bb5992b476c656c88b2fa (diff) | |
download | kdepimpi-2a449f785f955649df9de639d38dcb250fe1376d.zip kdepimpi-2a449f785f955649df9de639d38dcb250fe1376d.tar.gz kdepimpi-2a449f785f955649df9de639d38dcb250fe1376d.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/koeventviewerdialog.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index 1dce841..baa11b5 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp @@ -234,7 +234,4 @@ void KOEventViewerDialog::showIncidence() if ( mIncidence ){ -#ifndef DESKTOP_VERSION - hide(); -#endif QDate date; if ( mIncidence->type() == "Todo" ) { @@ -250,9 +247,6 @@ void KOEventViewerDialog::showIncidence() ((Todo*)mIncidence)->setCompleted( true ); ((Todo*)mIncidence)->setCompleted(QDateTime::currentDateTime() ); - hide(); emit todoCompleted(((Todo*)mIncidence)); - return; - - } else + } else { date = mIncidence->dtStart().date(); globalFlagBlockAgenda = 1; @@ -261,4 +255,8 @@ void KOEventViewerDialog::showIncidence() emit jumpToTime( date ); } +#ifndef DESKTOP_VERSION + reject(); +#endif + } } void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) |