[kcmkwin/compositing] Fix effect video previews
Summary:
Currently, video previews do not work because we try to call showHide()
function that was removed in 787c39cd42
.
Reviewers: #kwin, #plasma, davidedmundson
Reviewed By: #kwin, #plasma, davidedmundson
Subscribers: kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D18720
This commit is contained in:
parent
f3c1786a89
commit
0b4482dc2e
2 changed files with 1 additions and 5 deletions
|
@ -129,9 +129,6 @@ Rectangle {
|
|||
videoItem.visible = false;
|
||||
}
|
||||
}
|
||||
onLoaded: {
|
||||
videoItem.item.showHide();
|
||||
}
|
||||
}
|
||||
}
|
||||
Item {
|
||||
|
|
|
@ -26,8 +26,7 @@ import QtMultimedia 5.0 as Multimedia
|
|||
|
||||
Multimedia.Video {
|
||||
id: videoItem
|
||||
autoLoad: false
|
||||
visible: false
|
||||
autoPlay: true
|
||||
source: model.VideoRole
|
||||
width: 400
|
||||
height: 400
|
||||
|
|
Loading…
Reference in a new issue