summaryrefslogtreecommitdiffstats
path: root/collectionfavoritesview.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-19 04:02:16 +0100
committerArno <arno@disconnect.de>2018-02-19 04:02:16 +0100
commit113f13e9d82e0d4a1c23e86877ca623a5a287d28 (patch)
tree82a4a71828b16e50210c9182fc463e6ccd2d0f2c /collectionfavoritesview.h
parent7de8b0574b37d32e91939461c7bab93b818af620 (diff)
downloadBeetPlayer-113f13e9d82e0d4a1c23e86877ca623a5a287d28.tar.gz
BeetPlayer-113f13e9d82e0d4a1c23e86877ca623a5a287d28.tar.bz2
BeetPlayer-113f13e9d82e0d4a1c23e86877ca623a5a287d28.zip
Add syncing favorites
Symlink all favorites to a directory. Don't try to be smart, just ask if we need to delete anything if the target dir is not empty. Be very careful about what we delete. Only remove the item if it's a symlink.
Diffstat (limited to 'collectionfavoritesview.h')
-rw-r--r--collectionfavoritesview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/collectionfavoritesview.h b/collectionfavoritesview.h
index d8d34d1..ccc3fc0 100644
--- a/collectionfavoritesview.h
+++ b/collectionfavoritesview.h
@@ -11,6 +11,7 @@ class CollectionFavoritesView : public CollectionWidget {
public slots:
virtual void populate();
void removeFromFavorites(const QModelIndexList &idxs);
+ void syncToDir();
};
#endif // COLLECTIONFAVORITESVIEW_H