mirror of https://github.com/KDE/kasts.git
Small refactorings to prepare for qt6
This commit is contained in:
parent
c46d4f3959
commit
cee5ed71fa
|
@ -52,8 +52,8 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: root.imageSource
|
source: root.imageSource
|
||||||
fillMode: root.imageFillMode
|
fillMode: root.imageFillMode
|
||||||
sourceSize.width: root.imageResize ? width * Screen.devicePixelRatio : undefined
|
sourceSize.width: root.imageResize ? width * Screen.devicePixelRatio : 0
|
||||||
sourceSize.height: root.imageResize ? height * Screen.devicePixelRatio : undefined
|
sourceSize.height: root.imageResize ? height * Screen.devicePixelRatio : 0
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
mipmap: root.mipmap
|
mipmap: root.mipmap
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,8 +39,8 @@ Controls.Menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onObjectAdded: playbackRateMenu.insertItem(index, object)
|
onObjectAdded: (index, object) => playbackRateMenu.insertItem(index, object)
|
||||||
onObjectRemoved: playbackRateMenu.removeItem(object)
|
onObjectRemoved: (object) => playbackRateMenu.removeItem(object)
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.MenuSeparator {
|
Controls.MenuSeparator {
|
||||||
|
|
Loading…
Reference in New Issue