Commit 66b6c33f authored by Volker Krause's avatar Volker Krause

Use QDate here instead of KDateTime

parent 2013b052
......@@ -203,15 +203,15 @@ void KOTodoView::printTodo(bool preview)
KCalCore::Incidence::List selectedIncidences;
KDateTime todoDate;
QDate todoDate;
if (todo->hasStartDate()) {
todoDate = todo->dtStart();
todoDate = todo->dtStart().date();
} else {
todoDate = todo->dtDue();
todoDate = todo->dtDue().date();
printer.print(CalendarSupport::CalPrinterBase::Incidence,,, selectedIncidences, preview);
todoDate, todoDate, selectedIncidences, preview);
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