ImageComponent: Do not set undefined to int
An int property cannot be undefined, make it var.
This commit is contained in:
committed by
Aleix Pol Gonzalez
parent
a67fb36a84
commit
50176cfafb
@@ -49,7 +49,7 @@ Item {
|
||||
/**
|
||||
* The maximum height of the image. Can be left undefined most of the times. Passed to MediaSizeHelper::contentMaxHeight.
|
||||
*/
|
||||
property int contentMaxHeight: undefined
|
||||
property var contentMaxHeight: undefined
|
||||
|
||||
implicitWidth: mediaSizeHelper.currentSize.width
|
||||
implicitHeight: mediaSizeHelper.currentSize.height
|
||||
|
||||
Reference in New Issue
Block a user