Changeset View
Changeset View
Standalone View
Standalone View
kate/kateconfigplugindialogpage.cpp
Context not available. | |||||
80 | listView->setWhatsThis(i18n("Here you can see all available Kate plugins. Those with a check mark are loaded, and will be loaded again the next time Kate is started.")); | 80 | listView->setWhatsThis(i18n("Here you can see all available Kate plugins. Those with a check mark are loaded, and will be loaded again the next time Kate is started.")); | ||
---|---|---|---|---|---|
81 | 81 | | |||
82 | KatePluginList &pluginList(KateApp::self()->pluginManager()->pluginList()); | 82 | KatePluginList &pluginList(KateApp::self()->pluginManager()->pluginList()); | ||
83 | for (KatePluginList::iterator it = pluginList.begin(); it != pluginList.end(); ++it) { | 83 | for (auto& pluginInfo : pluginList) { | ||
84 | QTreeWidgetItem *item = new KatePluginListItem(it->load, &(*it)); | 84 | QTreeWidgetItem *item = new KatePluginListItem(pluginInfo.load, &pluginInfo); | ||
85 | item->setText(0, it->metaData.name()); | 85 | item->setText(0, pluginInfo.metaData.name()); | ||
86 | item->setText(1, it->metaData.description()); | 86 | item->setText(1, pluginInfo.metaData.description()); | ||
87 | listView->addTopLevelItem(item); | 87 | listView->addTopLevelItem(item); | ||
88 | } | 88 | } | ||
89 | 89 | | |||
Context not available. |