From 66b0ecc846fa36fbbb7f3e2c453249ac24ecf91f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 26 Jun 2012 02:16:57 +0200 Subject: [PATCH] * Show a loading spinner when loading a collection. --- src/libtomahawk/playlist/TreeModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/playlist/TreeModel.cpp b/src/libtomahawk/playlist/TreeModel.cpp index 9e9e57349..7066a2085 100644 --- a/src/libtomahawk/playlist/TreeModel.cpp +++ b/src/libtomahawk/playlist/TreeModel.cpp @@ -249,6 +249,8 @@ TreeModel::addCollection( const collection_ptr& collection ) << collection->source()->id() << collection->source()->userName(); + startLoading(); + m_collection = collection; DatabaseCommand_AllArtists* cmd = new DatabaseCommand_AllArtists( collection );