diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ef7368..45a55b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,7 @@ target_link_libraries(kcm_krunner_pass KF${KF_MAJOR_VERSION}::Runner KF${KF_MAJOR_VERSION}::KCMUtils ) +kcmutils_generate_desktop_file(kcm_krunner_pass) add_library(krunner_pass MODULE ${krunner_pass_SRCS}) target_link_libraries(krunner_pass KF${KF_MAJOR_VERSION}::Runner Qt${QT_MAJOR_VERSION}::Widgets diff --git a/kcm_krunner_pass.json b/kcm_krunner_pass.json new file mode 100644 index 0000000..e7cff94 --- /dev/null +++ b/kcm_krunner_pass.json @@ -0,0 +1,12 @@ +{ + "KPlugin": { + "Name": "Pass", + "ServiceTypes": [ + "KCModule" + ] + }, + "X-KDE-ParentComponents": [ + "Pass" + ], + "X-KDE-PluginKeyword": "kcm_krunner_pass" +} diff --git a/plasma-runner-pass_config.desktop b/plasma-runner-pass_config.desktop deleted file mode 100644 index c3233c5..0000000 --- a/plasma-runner-pass_config.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Service -X-KDE-ServiceTypes=KCModule -X-KDE-Library=kcm_krunner_pass -X-KDE-ParentComponents=Pass -X-KDE-PluginKeyword=kcm_krunner_pass - -Name=Pass