summaryrefslogtreecommitdiff
path: root/Header.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-13 21:08:36 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-13 21:08:36 +0800
commit2cb52d15b6608a21c89eaf291fc8633d1bfd0d95 (patch)
treeeb0759bb0a430a8bcd23bb83c460f0a0a2e5c206 /Header.qml
parent29b5bafe16ba82773da97c77951309d585bc9a6b (diff)
Use literal comparison
Diffstat (limited to 'Header.qml')
-rw-r--r--Header.qml10
1 files changed, 5 insertions, 5 deletions
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