Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
199de053 by Pierre Lamot at 2023-03-23T15:09:15+00:00
qt: report 0 size when the ml cache is loaded but empty

7d70397c7d976677bcf9989c99f636e7cfd383c9 doesn't work properly without this,
model remains in loading state

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/mllistcache.cpp


Changes:

=====================================
modules/gui/qt/medialibrary/mllistcache.cpp
=====================================
@@ -457,6 +457,8 @@ void MLListCache::asyncCountAndLoad()
                     emit endInsertRows();
                     emit localSizeChanged(m_cachedData->totalCount);
                 }
+                else
+                    emit localSizeChanged(0);
             }
 
             m_countTask = 0;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/199de0535b7e53a90ba087a2918746df88e3d72d

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/199de0535b7e53a90ba087a2918746df88e3d72d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to