Commit 40dc1390 authored by Laurent Montel's avatar Laurent Montel 😁

Fix warning found by cppcheck

parent f53ec60c
......@@ -1383,9 +1383,9 @@ void KOPrefsDialogPlugins::selectionChanged()
mConfigureButton->setEnabled(item->checkState(0) == Qt::Checked);
}
bool hasPosition = false;
if (item->service()->hasServiceType(
EventViews::CalendarDecoration::Decoration::serviceType())) {
bool hasPosition = false;
QString decoration = item->service()->desktopEntryName();
/*if ( mDecorationsAtMonthViewTop.contains( decoration ) ) {
mPositionMonthTop->setChecked( true );
......
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