mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
SVN_SILENT: 2 false positives reported by krazy
svn path=/trunk/KDE/kdebase/apps/; revision=973277
This commit is contained in:
parent
c848b945d4
commit
3f46b570f3
|
@ -143,7 +143,7 @@ bool PreviewsSettingsPage::event(QEvent* event)
|
|||
if ((event->type() == QEvent::Polish) && !m_initialized) {
|
||||
// load all available plugins for previews
|
||||
const KService::List plugins = KServiceTypeTrader::self()->query("ThumbCreator");
|
||||
foreach (const KSharedPtr<KService>& service, plugins) {
|
||||
foreach (const KSharedPtr<KService>& service, plugins) { // krazy:exclude=foreach
|
||||
QListWidgetItem* item = new QListWidgetItem(service->name(),
|
||||
m_previewPluginsList);
|
||||
item->setData(Qt::UserRole, service->desktopEntryName());
|
||||
|
|
|
@ -98,7 +98,7 @@ void ServicesSettingsPage::loadServices()
|
|||
const KConfigGroup showGroup = config.group("Show");
|
||||
|
||||
const KService::List entries = KServiceTypeTrader::self()->query("KonqPopupMenu/Plugin");
|
||||
foreach (const KSharedPtr<KService>& service, entries) {
|
||||
foreach (const KSharedPtr<KService>& service, entries) { // krazy:exclude=foreach
|
||||
const QString file = KStandardDirs::locate("services", service->entryPath());
|
||||
const QList<KServiceAction> serviceActions =
|
||||
KDesktopFileActions::userDefinedServices(file, true);
|
||||
|
|
Loading…
Reference in a new issue