From 113f13e9d82e0d4a1c23e86877ca623a5a287d28 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 19 Feb 2018 04:02:16 +0100 Subject: 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. --- collectionfavoritesview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'collectionfavoritesview.h') 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 -- cgit v1.2.3-70-g09d2