]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Remove 'Id' field from JSON plugin metadata
authorJonathan Marten <jjm@keelhaul.me.uk>
Wed, 6 Mar 2024 14:31:59 +0000 (14:31 +0000)
committerJonathan Marten <jjm@keelhaul.me.uk>
Wed, 6 Mar 2024 15:00:29 +0000 (15:00 +0000)
KPluginMetaData (since kcoreaddons commit be10ddbf) now derives the
plugin ID from the file name and ignores the ID field.  Eliminates many
runtime warnings of the form:

konqueror/kf.coreaddons KPluginMetaData::KPluginMetaData: The plugin
"/usr/lib64/plugins/kf6/parts/dolphinpart.so" explicitly states an 'Id'
in the embedded metadata. This value should be removed, the resulting
pluginId will not be affected by it

src/dolphinpart.json.in

index 445e309ef99341378c2843b08ef3ccf491fdf0c0..91cfd0f753b052d7532f008cdd544676c18b512a 100644 (file)
@@ -1,7 +1,6 @@
 {
     "KPlugin": {
         "Icon": "view-list-icons",
-        "Id": "dolphinpart",
         "InitialPreference": 7,
         "License": "LGPL v2+",
         "MimeTypes": [