Skip to content
  • David Faure's avatar
    KTimeZoneComboBox: fix support for floating events · ac3e1df0
    David Faure authored and Allen Winter's avatar Allen Winter committed
    12:00 my time can be either
     * floating if timeSpec() == Qt::LocalTime
     * non-floating if timeSpec() == Qt::TimeZone (in which case the system timezone is set)
    
    KTimeZoneComboBox didn't distinguish the two, returning systemTimeZone()
    in both cases. This commit adds new API that works with QDateTimes so
    that the combo can read/write both timeSpec() and timeZone().
    ac3e1df0