From 9b2bf31715226dfa8210f31843616a04f810f012 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 27 Jun 2005 04:48:41 +0000 Subject: strat stop tod fixes --- (limited to 'libkcal/todo.cpp') diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index 9a8b6e4..5260051 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -111,8 +111,8 @@ void Todo::saveRunningInfoToFile() void Todo::saveRunningInfoToFile( QString comment ) { //qDebug("Todo::saveRunningInfoToFile() %s", summary().latin1()); - if ( mRunStart.secsTo ( QDateTime::currentDateTime() ) < 10 ) { - qDebug("Running time < 30 seconds. Skipped. "); + if ( mRunStart.secsTo ( mRunEnd) < 15 ) { + qDebug("Running time < 15 seconds. Skipped. "); return; } QString dir = KGlobalSettings::timeTrackerDir(); -- cgit v0.9.0.2