[vlmc-devel] Library: Reload after the MediaLibrary starts

Yikai Lu git at videolan.org
Wed May 17 14:23:48 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed May 17 21:23:31 2017 +0900| [e64a4db8785dfbc0880c5322566c1de934253717] | committer: Yikai Lu

Library: Reload after the MediaLibrary starts

> https://code.videolan.org/videolan/vlmc/commit/e64a4db8785dfbc0880c5322566c1de934253717
---

 src/Library/Library.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
index 03bdbd0..481f017 100644
--- a/src/Library/Library.cpp
+++ b/src/Library/Library.cpp
@@ -199,6 +199,7 @@ Library::workspaceChanged(const QVariant& workspace)
         m_ml->initialize( w + "/ml.db", w + "/thumbnails/", this );
         m_initialized = true;
         m_ml->start();
+        m_ml->reload();
     }
     //else FIXME, and relocate the media library
 }



More information about the Vlmc-devel mailing list