[vlc-devel] [PATCH 2/2] qml: only show the medialibrary scanning progress in ml views

Pierre Lamot pierre at videolabs.io
Tue Aug 6 18:42:20 CEST 2019


---
 modules/gui/qt/qml/MainInterface.qml             | 6 ------
 modules/gui/qt/qml/mediacenter/MCMainDisplay.qml | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt/qml/MainInterface.qml b/modules/gui/qt/qml/MainInterface.qml
index aa96704617..4210fc2d31 100644
--- a/modules/gui/qt/qml/MainInterface.qml
+++ b/modules/gui/qt/qml/MainInterface.qml
@@ -148,12 +148,6 @@ Rectangle {
         }
     }
 
-    Utils.ScanProgressBar {
-        anchors.left: parent.left
-        anchors.right: parent.right
-        anchors.bottom: parent.bottom
-    }
-
     DG.Dialogs {
         anchors.fill: parent
         bgContent: root
diff --git a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
index 37f00d8cba..5500142a19 100644
--- a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
@@ -274,6 +274,12 @@ Utils.NavigableFocusScope {
                         medialibId.actionDown(index)
                 }
             }
+
+            Utils.ScanProgressBar {
+                anchors.left: parent.left
+                anchors.right: parent.right
+                anchors.bottom: parent.bottom
+            }
         }
 
     }
-- 
2.17.1



More information about the vlc-devel mailing list