From fa226c66caf80f9f5041f9616d057309e8f958c0 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 11 Aug 2013 03:42:04 +0200 Subject: Implement Favorites Re-Implement mark as Favorites in new ArchiveView. Also, don't block when the Collector is running again and we're trying to update the view. --- archivemodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archivemodel.h') diff --git a/archivemodel.h b/archivemodel.h index 8323385..e4ed513 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -52,6 +52,7 @@ class ArchiveModel : public SmTreeModel { QStringList allSources() const; QStringList allReleaseGroups() const; bool setPartNo(int partId, int newPartId, const QString &subtitle); + bool setFavorite(int partId, bool favorite); signals: void needRefresh(); @@ -83,6 +84,7 @@ class ArchiveModel : public SmTreeModel { QList mCollectors; QHash mNodeIcons; QMutex mCacheMx; + QMutex mRootAccessMx; int mOrder; }; -- cgit v1.2.3-70-g09d2