summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-10 20:17:14 (UTC)
committer zautrix <zautrix>2005-07-10 20:17:14 (UTC)
commitbf95dce0b9143e3c9b9aeb3cdfda24cb5325dd33 (patch) (side-by-side diff)
tree19849ae249cb104db250d6e60e60de4ffef0acbc
parentf06311e58cb5887fd673eb1c2c48acf7cd987ad9 (diff)
downloadkdepimpi-bf95dce0b9143e3c9b9aeb3cdfda24cb5325dd33.zip
kdepimpi-bf95dce0b9143e3c9b9aeb3cdfda24cb5325dd33.tar.gz
kdepimpi-bf95dce0b9143e3c9b9aeb3cdfda24cb5325dd33.tar.bz2
fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 427d71b..9674921 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -2763,33 +2763,37 @@ void CalendarView::changeEventDisplay(Event *which, int action)
clearAllViews();
clearallviews = false;
}
return;
}
clearallviews = true;
mDateNavigator->updateView();
//mDialogManager->updateSearchDialog();
if (which) {
// If there is an event view visible update the display
mViewManager->currentView()->changeEventDisplay(which,action);
// TODO: check, if update needed
// if (which->getTodoStatus()) {
mTodoList->updateView();
if ( action != KOGlobals::EVENTDELETED ) {
mConflictingEvent = which ;
- QTimer::singleShot( 1000, this, SLOT ( checkConflictForEvent() ) );
+ int time = 1000;
+#ifdef DESKTOP_VERSION
+ time = 500;
+#endif
+ QTimer::singleShot( time, this, SLOT ( checkConflictForEvent() ) );
}
// }
} else {
mViewManager->currentView()->updateView();
}
}
void CalendarView::checkConflictForEvent()
{
if (!KOPrefs::instance()->mConfirm)
return;
if ( ! mConflictingEvent ) return;
QDateTime current = QDateTime::currentDateTime();
if ( ! mConflictingEvent->matchTime( &current, 0 ) ) {
mConflictingEvent = 0;
return;