┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Lohnau <[email protected]>2021-11-11 19:19:19 +0100
committerAlexander Lohnau <[email protected]>2021-12-01 22:10:58 +0000
commita8ac157bdcf2438c16c0782028c2e7a310b0a833 (patch)
tree279831bb47665a31e0780da4b3778a6f9122d87a /src
parent82202a24e20a36d8bfd814dce6702012d74a1620 (diff)
Port away from deprecated KDesktopFileActions::userDefinedServices overload
Diffstat (limited to 'src')
-rw-r--r--src/settings/contextmenu/contextmenusettingspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/contextmenu/contextmenusettingspage.cpp b/src/settings/contextmenu/contextmenusettingspage.cpp
index 0541b1020..cfbfefe52 100644
--- a/src/settings/contextmenu/contextmenusettingspage.cpp
+++ b/src/settings/contextmenu/contextmenusettingspage.cpp
@@ -275,7 +275,7 @@ void ContextMenuSettingsPage::loadServices()
const KService::List entries = KServiceTypeTrader::self()->query(QStringLiteral("KonqPopupMenu/Plugin"));
for (const KService::Ptr &service : entries) {
const QString file = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kservices5/" % service->entryPath());
- const QList<KServiceAction> serviceActions = KDesktopFileActions::userDefinedServices(file, true);
+ const QList<KServiceAction> serviceActions = KDesktopFileActions::userDefinedServices(KService(file), true);
const KDesktopFile desktopFile(file);
const QString subMenuName = desktopFile.desktopGroup().readEntry("X-KDE-Submenu");