Commit 7003299b authored by Glen Ditchfield's avatar Glen Ditchfield 🐛 Committed by David Faure
Browse files

Do not change the timeSpec of system dateTimes

- 0 is not the index of the "floating" time zone.
- The timeSpec has already been set correctly by `currentStartDateTime()`
  and `currentEndDateTime()`.

@dfaure
parent 8e28d77a
Pipeline #152223 passed with stage
in 1 minute and 13 seconds
......@@ -146,14 +146,6 @@ void IncidenceDateTime::load(const KCalendarCore::Incidence::Ptr &incidence)
enableTimeEdits();
if (mUi->mTimeZoneComboStart->currentIndex() == 0) { // Floating
mInitialStartDT.setTimeSpec(Qt::LocalTime);
}
if (mUi->mTimeZoneComboEnd->currentIndex() == 0) { // Floating
mInitialEndDT.setTimeSpec(Qt::LocalTime);
}
mWasDirty = false;
mLoadingIncidence = false;
}
......
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