mirror of https://code.videolan.org/videolan/vlc
qml: fix todo in ScaledImage
This commit is contained in:
parent
300b3b9c84
commit
9dc558a2f3
|
@ -29,11 +29,6 @@ Image {
|
|||
|
||||
property bool disableSmoothWhenIntegerUpscaling: false
|
||||
|
||||
// TODO: Remove this Qt >= 5.14 (Binding.restoreMode == Binding.RestoreBindingOrValue)
|
||||
// Only required for the Binding to restore the value back
|
||||
readonly property bool _smooth: true
|
||||
smooth: _smooth
|
||||
|
||||
Binding on smooth {
|
||||
when: root.disableSmoothWhenIntegerUpscaling &&
|
||||
!((root.paintedWidth % root.implicitWidth) || (root.paintedHeight % root.implicitHeight))
|
||||
|
|
Loading…
Reference in New Issue