Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit d7153d67 authored by Volker Krause's avatar Volker Krause

Incidence::iconName no longer needs a KDateTime

parent f1ddc1e4
......@@ -758,7 +758,7 @@ void AgendaItem::paintIcons(QPainter *p, int &x, int y, int ft)
const bool isTodo = mIncidence && mIncidence->type() == Incidence::TypeTodo;
if (isTodo && icons.contains(EventViews::EventView::TaskIcon)) {
const QString iconName = mIncidence->iconName(KDateTime(mOccurrenceDateTime.toLocalTime()));
const QString iconName = mIncidence->iconName(mOccurrenceDateTime.toLocalTime());
conditionalPaint(p, !mSpecialEvent, x, y, ft, QIcon::fromTheme(iconName).pixmap(16, 16));
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