Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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