summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2023-11-22 15:03:37 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2023-11-30 14:21:25 +0000
commit6a56d1c8a0175c8de28cb8c7f5d6d22fef66d34a (patch)
treed8179948d1a7025527996bcd8193f6364a309d6b
parente1de3934a7b8e7c6c92b661809d41fffb765f15e (diff)
Don't try to identify Wired networks
NetworkSettingsManager has already been configured to list only Wifi networks, we don't need to check for the Wired ones. This make code again compatible with older version of DeviceUtilities. Change-Id: I58dd4443e737a50d5230361b8d1b8dcc4d9324e9 Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
-rw-r--r--startupscreen/NetworkSettings/NetworkDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/startupscreen/NetworkSettings/NetworkDelegate.qml b/startupscreen/NetworkSettings/NetworkDelegate.qml
index b44c206..1f352ed 100644
--- a/startupscreen/NetworkSettings/NetworkDelegate.qml
+++ b/startupscreen/NetworkSettings/NetworkDelegate.qml
@@ -52,7 +52,7 @@ Item {
font.pixelSize: networkSettingsRoot.height * viewSettings.subTitleFontSize
font.family: viewSettings.appFont
color: isConnected ? viewSettings.buttonGreenColor : "white"
- text: (entry.type === NetworkSettingsType.Wired) ? entry["name"] + " (" + entry["id"] + ")" : name
+ text: name
}
Row {