Commit 8c0c9c37 authored by Allen Winter's avatar Allen Winter
Browse files

in the detail view, make sure to clear the header text if the reminder

doesn't have any display message to show
parent 9e5ed813
......@@ -820,6 +820,8 @@ void AlarmDialog::showDetails( QTreeWidgetItem *item )
if ( !reminderItem->mDisplayText.isEmpty() ) {
QString txt = QLatin1String("<qt><p><b>") + reminderItem->mDisplayText + QLatin1String("</b></p></qt>");
mDetailView->setHeaderText( txt );
} else {
mDetailView->setHeaderText( QString() );
}
Incidence::Ptr incidence = CalendarSupport::incidence( reminderItem->mIncidence );
mDetailView->setIncidence( reminderItem->mIncidence, reminderItem->mRemindAt.date() );
......
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