diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-13 21:08:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-13 21:08:36 +0800 |
commit | 2cb52d15b6608a21c89eaf291fc8633d1bfd0d95 (patch) | |
tree | eb0759bb0a430a8bcd23bb83c460f0a0a2e5c206 | |
parent | 29b5bafe16ba82773da97c77951309d585bc9a6b (diff) |
Use literal comparison
-rw-r--r-- | CardGrid.ui.qml | 10 | ||||
-rw-r--r-- | Header.qml | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/CardGrid.ui.qml b/CardGrid.ui.qml index 2bfa20d..90ef11d 100644 --- a/CardGrid.ui.qml +++ b/CardGrid.ui.qml @@ -17,11 +17,11 @@ Item { property alias imageArea: imageArea property alias titleArea: titleArea // property string textTruncateText: "Rooms oh fully taken by worse do. Points afraid but may end afraid but.." - 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" DropShadow { source: rectangle @@ -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 |