Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 325b5add authored by Volker Krause's avatar Volker Krause

Adapt to KCalUtils changes

parent 3455e6ba
......@@ -41,7 +41,7 @@ set(QT_REQUIRED_VERSION "5.8.0")
set(KMIME_LIB_VERSION "5.6.40")
set(KMAILTRANSPORT_LIB_VERSION "5.6.40")
set(KLDAP_LIB_VERSION "5.6.40")
set(CALENDARUTILS_LIB_VERSION "5.6.40")
set(CALENDARUTILS_LIB_VERSION "5.6.42")
set(KCALENDARCORE_LIB_VERSION "5.6.40")
set(CALENDARSUPPORT_LIB_VERSION "5.6.40")
set(LIBKDEPIM_LIB_VERSION "5.6.40")
......
......@@ -20,14 +20,13 @@
#include "incidencedatetime.h"
#include "ui_dialogdesktop.h"
#include "incidenceeditor_debug.h"
#include <CalendarSupport/KCalPrefs>
#include <KCalCore/ICalTimeZones>
#include <KCalUtils/IncidenceFormatter>
#include "incidenceeditor_debug.h"
#include <KSystemTimeZone>
#include <QTimeZone>
using namespace IncidenceEditorNG;
......@@ -851,8 +850,7 @@ void IncidenceDateTime::updateStartToolTips()
= KCalUtils::IncidenceFormatter::dateTimeToString(
currentStartDateTime(),
mUi->mWholeDayCheck->isChecked(),
false,
KSystemTimeZones::local());
false);
mUi->mStartDateEdit->setToolTip(i18n("Starts: %1", datetimeStr));
mUi->mStartTimeEdit->setToolTip(i18n("Starts: %1", datetimeStr));
} else {
......@@ -868,8 +866,7 @@ void IncidenceDateTime::updateEndToolTips()
= KCalUtils::IncidenceFormatter::dateTimeToString(
currentEndDateTime(),
mUi->mWholeDayCheck->isChecked(),
false,
KSystemTimeZones::local());
false);
if (mLoadedIncidence->type() == KCalCore::Incidence::TypeTodo) {
mUi->mEndDateEdit->setToolTip(i18n("Due on: %1", datetimeStr));
mUi->mEndTimeEdit->setToolTip(i18n("Due on: %1", datetimeStr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment