Fix runcommand page not being able to be displayed in Qt6

This commit is contained in:
Alexander Lohnau 2023-07-22 11:07:27 +02:00
parent 6d1a7c613b
commit eabb280d9c
3 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@ configure_file(qml/main.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/main.qml)
configure_file(qml/DevicePage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/DevicePage.qml)
configure_file(qml/FindDevicesPage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/FindDevicesPage.qml)
configure_file(qml/PluginInfoPage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/PluginInfoPage.qml)
configure_file(qml/runcommand.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/runcommand.qml)
configure_file(resources.qrc.in ${CMAKE_CURRENT_SOURCE_DIR}/resources.generated.qrc)
qt_add_resources(kdeconnect_SRCS resources.generated.qrc)

View file

@ -16,7 +16,7 @@ Kirigami.ScrollablePage
title: i18nd("kdeconnect-app", "Run command")
property QtObject pluginInterface
actions.main: Kirigami.Action {
@KIGIGAMI_PAGE_ACTIONS@: Kirigami.Action {
icon.name: "document-edit"
text: i18nd("kdeconnect-app", "Edit commands")
onTriggered: {

View file

@ -8,7 +8,7 @@
<file>qml/PluginItem.qml</file>
<file alias="qml/DevicePage.qml">@CMAKE_CURRENT_BINARY_DIR@/qml/DevicePage.qml</file>
<file alias="qml/FindDevicesPage.qml">@CMAKE_CURRENT_BINARY_DIR@/qml/FindDevicesPage.qml</file>
<file>qml/runcommand.qml</file>
<file alias="qml/runcommand.qml">@CMAKE_CURRENT_BINARY_DIR@/qml/runcommand.qml</file>
<file>qml/volume.qml</file>
<file>qml/MprisSlider.qml</file>
<file>qml/PluginSettings.qml</file>