From 30eae108b78c85b9637f606e8af620fa06196ded Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Tue, 24 Apr 2018 17:08:10 +0200 Subject: [PATCH] Remove redundant condition --- qml/LoadedDeviceMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/LoadedDeviceMessage.qml b/qml/LoadedDeviceMessage.qml index bd20033e..6de8665e 100644 --- a/qml/LoadedDeviceMessage.qml +++ b/qml/LoadedDeviceMessage.qml @@ -18,7 +18,7 @@ Label { function getText() { if (credentials === null) { return qsTr("Reading credentials...") - } else if (nCredentials === 0 && credentials !== null) { + } else if (nCredentials === 0) { return qsTr("No credentials found.") } else { return ""