From fc10a6fe1029afee3f0a225d5080156d19823d4d Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 27 Dec 2023 14:45:50 -0500 Subject: [PATCH] kcms/wifi: Add checked icon to connected Wi-Fi network --- kcms/wifi/ui/ConnectionItemDelegate.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kcms/wifi/ui/ConnectionItemDelegate.qml b/kcms/wifi/ui/ConnectionItemDelegate.qml index eb14845c..91bfe94e 100644 --- a/kcms/wifi/ui/ConnectionItemDelegate.qml +++ b/kcms/wifi/ui/ConnectionItemDelegate.qml @@ -57,6 +57,14 @@ FormCard.AbstractFormDelegate { } RowLayout { + Kirigami.Icon { + Layout.alignment: Qt.AlignVCenter + Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium + Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium + visible: ConnectionState === PlasmaNM.Enums.Activated + source: 'checkmark' + } + // ensure that the row is always of same height Controls.ToolButton { id: heightMetrics