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
|
||||
source: root.imageSource
|
||||
fillMode: root.imageFillMode
|
||||
sourceSize.width: root.imageResize ? width * Screen.devicePixelRatio : undefined
|
||||
sourceSize.height: root.imageResize ? height * Screen.devicePixelRatio : undefined
|
||||
sourceSize.width: root.imageResize ? width * Screen.devicePixelRatio : 0
|
||||
sourceSize.height: root.imageResize ? height * Screen.devicePixelRatio : 0
|
||||
asynchronous: true
|
||||
mipmap: root.mipmap
|
||||
}
|
||||
|
|
|
@ -39,8 +39,8 @@ Controls.Menu {
|
|||
}
|
||||
}
|
||||
|
||||
onObjectAdded: playbackRateMenu.insertItem(index, object)
|
||||
onObjectRemoved: playbackRateMenu.removeItem(object)
|
||||
onObjectAdded: (index, object) => playbackRateMenu.insertItem(index, object)
|
||||
onObjectRemoved: (object) => playbackRateMenu.removeItem(object)
|
||||
}
|
||||
|
||||
Controls.MenuSeparator {
|
||||
|
|
Loading…
Reference in New Issue