From kde-commits Wed May 31 22:40:49 2006 From: David Jarvie Date: Wed, 31 May 2006 22:40:49 +0000 To: kde-commits Subject: branches/KDE/3.5/kdepim/kalarm Message-Id: <1149115249.512175.5948.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114911526528130 SVN commit 547138 by djarvie: Fix Defer dialog time interval maximum to match maximum date/time value M +4 -1 Changelog M +3 -2 alarmtimewidget.cpp M +1 -1 kalarm.h --- branches/KDE/3.5/kdepim/kalarm/Changelog #547137:547138 @@ -1,6 +1,9 @@ KAlarm -=== Version 1.3.10 --- 22 May 2006 === +=== Version 1.3.11 --- 31 May 2006 === +Fix Defer dialog time interval maximum to match maximum date/time value. + +=== Version 1.3.10 (KDE 3.5.3) --- 22 May 2006 === Add DCOP calls and command line options to display the edit alarm dialogue. Add Select All and Deselect actions & shortcuts for import birthdays list. Make system tray icon appear in non-KDE window managers. --- branches/KDE/3.5/kdepim/kalarm/alarmtimewidget.cpp #547137:547138 @@ -1,7 +1,7 @@ /* * alarmtimewidget.cpp - alarm date/time entry widget * Program: kalarm - * Copyright (C) 2001 - 2005 by David Jarvie + * Copyright © 2001-2006 by David Jarvie * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -397,7 +397,8 @@ { if (now.date().daysTo(mMaxDateTime.date()) < 100) // avoid possible 32-bit overflow on secsTo() { - maxVal = now.secsTo(mMaxDateTime) / 60; + QDateTime dt(now.date(), QTime(now.time().hour(), now.time().minute(), 0)); // round down to nearest minute + maxVal = dt.secsTo(mMaxDateTime) / 60; if (maxVal > maxDelayTime) maxVal = maxDelayTime; } --- branches/KDE/3.5/kdepim/kalarm/kalarm.h #547137:547138 @@ -26,7 +26,7 @@ #include #endif -#define KALARM_VERSION "1.3.10" +#define KALARM_VERSION "1.3.11" #include