From 8594265b5bd1935218eda89b70d1b6cdd905dfca Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Sun, 2 Oct 2011 16:59:21 +0200 Subject: [PATCH] Use === instead of ==, it is safer --- application/resources/harmattan/qml/PageHeader.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/resources/harmattan/qml/PageHeader.qml b/application/resources/harmattan/qml/PageHeader.qml index 8ab514a..4ad07aa 100644 --- a/application/resources/harmattan/qml/PageHeader.qml +++ b/application/resources/harmattan/qml/PageHeader.qml @@ -10,7 +10,7 @@ Rectangle { id: root width: parent.width - height: screen.currentOrientation == Screen.Landscape ? + height: screen.currentOrientation === Screen.Landscape ? UiConstants.HeaderDefaultHeightLandscape : UiConstants.HeaderDefaultHeightPortrait gradient: Gradient { -- 1.7.9.5