projects
/
quandoparte
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use === instead of ==, it is safer
[quandoparte]
/
application
/
resources
/
harmattan
/
qml
/
PageHeader.qml
diff --git
a/application/resources/harmattan/qml/PageHeader.qml
b/application/resources/harmattan/qml/PageHeader.qml
index
8ab514a
..
4ad07aa
100644
(file)
--- 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 {