From 5db4263af6742bd9247d8352971f67da47238b4f Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Thu, 9 Nov 2023 00:06:14 +0300 Subject: [PATCH] Port implicit default content items to use contentItem: property See also https://invent.kde.org/frameworks/kirigami/-/merge_requests/1338 and https://invent.kde.org/frameworks/kirigami/-/merge_requests/1340 --- app/qml/PluginSettings.qml | 2 +- plugins/runcommand/kdeconnect_runcommand_config.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/qml/PluginSettings.qml b/app/qml/PluginSettings.qml index cc46e33e5..f93bd319e 100644 --- a/app/qml/PluginSettings.qml +++ b/app/qml/PluginSettings.qml @@ -24,7 +24,7 @@ Kirigami.ScrollablePage { delegate: Kirigami.SwipeListItem { - RowLayout { + contentItem: RowLayout { CheckBox { id: serviceCheck Layout.alignment: Qt.AlignVCenter diff --git a/plugins/runcommand/kdeconnect_runcommand_config.qml b/plugins/runcommand/kdeconnect_runcommand_config.qml index ea8a2ca23..4a6b6bc42 100644 --- a/plugins/runcommand/kdeconnect_runcommand_config.qml +++ b/plugins/runcommand/kdeconnect_runcommand_config.qml @@ -35,7 +35,7 @@ ListView { width: parent.width enabled: true - QQC2.Label { + contentItem: QQC2.Label { text: i18n("%1
%2", name, command) }