From 9e0028415855080c9aa708166b0e9ac6bfc4eb0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 13 Dec 2013 10:56:47 +0100 Subject: [PATCH] Show busy indicator during loading of video We need to provide some feedback during downloading the video. REVIEW: 114431 --- kcmkwin/kwincompositing/qml/Effect.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kcmkwin/kwincompositing/qml/Effect.qml b/kcmkwin/kwincompositing/qml/Effect.qml index 01421a0fc5..20ab18c9e9 100644 --- a/kcmkwin/kwincompositing/qml/Effect.qml +++ b/kcmkwin/kwincompositing/qml/Effect.qml @@ -20,7 +20,7 @@ import QtQuick 2.1 -import QtQuick.Controls 1.0 +import QtQuick.Controls 1.1 import QtQuick.Layouts 1.0 import org.kde.kwin.kwincompositing 1.0 import QtMultimedia 5.0 as Multimedia @@ -150,6 +150,11 @@ Item { width: 400 height: 400 anchors.bottom: parent.bottom + BusyIndicator { + anchors.centerIn: parent + visible: videoItem.status == Multimedia.MediaPlayer.Loading + running: true + } MouseArea { // it's a mouse area with icon inside to not have an ugly button background id: replayButton