Commit bf8663e5 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Drop "Other Plugins" from preferences

It is never populated with anything since there are no other plugins than decoration plugins.

Printer plugins exist, but their handling is purely internal to evenviews and they are not installed in a way that Korganizer could read them like it reads deoration plugins
parent 18c3907e
......@@ -118,7 +118,6 @@ KOPrefsDialogPlugins::KOPrefsDialogPlugins(QWidget *parent, const QVariantList &
KOPrefsDialogPlugins::~KOPrefsDialogPlugins()
{
delete mDecorations;
delete mOthers;
}
void KOPrefsDialogPlugins::usrReadConfig()
......@@ -132,7 +131,6 @@ void KOPrefsDialogPlugins::usrReadConfig()
QStringList selectedPlugins = viewPrefs->selectedPlugins();
mDecorations = new QTreeWidgetItem(mTreeWidget, QStringList(i18nc("@title:group", "Calendar Decorations")));
mOthers = new QTreeWidgetItem(mTreeWidget, QStringList(i18nc("@title:group", "Other Plugins")));
KService::List::ConstIterator it;
KService::List::ConstIterator end(plugins.constEnd());
......@@ -152,7 +150,6 @@ void KOPrefsDialogPlugins::usrReadConfig()
}
mDecorations->setExpanded(true);
mOthers->setExpanded(true);
const auto monthViewTop = KOPrefs::instance()->decorationsAtMonthViewTop();
mDecorationsAtMonthViewTop = QSet<QString>(monthViewTop.begin(), monthViewTop.end());
......
......@@ -41,7 +41,6 @@ private:
QRadioButton *mPositionAgendaTop = nullptr;
QRadioButton *mPositionAgendaBottom = nullptr;
QTreeWidgetItem *mDecorations = nullptr;
QTreeWidgetItem *mOthers = nullptr;
QSet<QString> mDecorationsAtMonthViewTop;
QSet<QString> mDecorationsAtAgendaViewTop;
QSet<QString> mDecorationsAtAgendaViewBottom;
......
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