mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-07 10:51:45 +00:00
Port away from KDesktopFileActions::userDefinedServices
This is planned to go away since the only real user being kdesvn and that is ported to a C++ plugin
This commit is contained in:
parent
064b2539de
commit
c907ef92c1
|
@ -280,7 +280,7 @@ void ContextMenuSettingsPage::loadServices()
|
|||
QStringList files = KFileUtils::findAllUniqueFiles(locations);
|
||||
|
||||
for (const auto &file : std::as_const(files)) {
|
||||
const QList<KServiceAction> serviceActions = KDesktopFileActions::userDefinedServices(KService(file), true);
|
||||
const QList<KServiceAction> serviceActions = KService(file).actions();
|
||||
|
||||
const KDesktopFile desktopFile(file);
|
||||
const QString subMenuName = desktopFile.desktopGroup().readEntry("X-KDE-Submenu");
|
||||
|
|
Loading…
Reference in New Issue
Block a user