From 36dc660a4699df0179b8fa5cb7473e95df0545d1 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Mon, 16 Sep 2024 21:31:22 +0200 Subject: [PATCH] Dolphinpart: Define KPart capabilities instead of deprecated ServiceTypes By now, Konqueror uses the new mechanism introduced in https://invent.kde.org/frameworks/kparts/-/merge_requests/86. Thus, we can avoid using the deprecated SeviceTypes which are also removed from the official KPluginMetaData API. --- src/dolphinpart.json.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/dolphinpart.json.in b/src/dolphinpart.json.in index d0cf5174a..e47e14e2a 100644 --- a/src/dolphinpart.json.in +++ b/src/dolphinpart.json.in @@ -64,14 +64,16 @@ "Name[x-test]": "xxDolphin Viewxx", "Name[zh_CN]": "Dolphin 视图", "Name[zh_TW]": "Dolphin 檢視", - "ServiceTypes": [ - "KParts/ReadOnlyPart", - "Browser/View" - ], "Version": "@DOLPHIN_VERSION@" }, "MimeType": "inode/directory;", "X-KDE-BrowserView-Built-Into": "konqueror", "X-KDE-BrowserView-HideFromMenus": true, - "X-Konqueror-Actions-File": "@KDE_INSTALL_FULL_DATADIR@/dolphin/dolphinpartactions.desktop" + "X-Konqueror-Actions-File": "@KDE_INSTALL_FULL_DATADIR@/dolphin/dolphinpartactions.desktop", + "KParts": { + "Capabilities": [ + "ReadOnly", + "BrowserView" + ] + } } -- 2.47.3