From 8b4abd134ab544553e4d96641652ec212e601028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Mon, 7 Apr 2025 23:04:13 +0200 Subject: [PATCH] info kcm: move vendorinfo block higher MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If present, this is quite important information (e.g. model number, serial, etc.), so give it a more prominent position. For a default configured system, no visual change. Signed-off-by: Sebastian Kügler --- kcms/info/ui/main.qml | 50 +++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/kcms/info/ui/main.qml b/kcms/info/ui/main.qml index 03ce5ef7..30b46382 100644 --- a/kcms/info/ui/main.qml +++ b/kcms/info/ui/main.qml @@ -59,6 +59,31 @@ KCM.SimpleKCM { } } + FormCard.FormHeader { + visible: kcm.vendorInfoTitle !== "" + title: kcm.vendorInfoTitle + } + + FormCard.FormCard { + visible: kcm.vendorInfoTitle !== "" + Repeater { + model: kcm.vendorInfo + ColumnLayout { + id: delegate + + required property var modelData + + spacing: 0 + + FormCard.FormTextDelegate { + text: delegate.modelData.Key + description: delegate.modelData.Value + } + FormCard.FormDelegateSeparator {} + } + } + } + FormCard.FormHeader { title: i18nc("@title:group", "Software") } @@ -122,30 +147,5 @@ KCM.SimpleKCM { } } } - - FormCard.FormHeader { - visible: kcm.vendorInfoTitle !== "" - title: kcm.vendorInfoTitle - } - - FormCard.FormCard { - visible: kcm.vendorInfoTitle !== "" - Repeater { - model: kcm.vendorInfo - ColumnLayout { - id: delegate - - required property var modelData - - spacing: 0 - - FormCard.FormTextDelegate { - text: delegate.modelData.Key - description: delegate.modelData.Value - } - FormCard.FormDelegateSeparator {} - } - } - } } }