From 2cb52d15b6608a21c89eaf291fc8633d1bfd0d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 13 Feb 2023 21:08:36 +0800 Subject: Use literal comparison --- Header.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Header.qml') diff --git a/Header.qml b/Header.qml index 761a16a..b0cfb71 100644 --- a/Header.qml +++ b/Header.qml @@ -8,11 +8,11 @@ ToolBar { property alias optionSettings: settings property alias optionHelp: help property alias optionSign: sign - property bool doesntEmbed: Qt.platform.os == "android" - || Qt.platform.os == "linux" - || Qt.platform.os == "osx" - || Qt.platform.os == "unix" - || Qt.platform.os == "windows" + property bool doesntEmbed: Qt.platform.os === "android" + || Qt.platform.os === "linux" + || Qt.platform.os === "osx" + || Qt.platform.os === "unix" + || Qt.platform.os === "windows" background: Rectangle { implicitHeight: 64 -- cgit v1.2.3