summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CardGrid.ui.qml10
-rw-r--r--Header.qml10
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
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