summaryrefslogtreecommitdiffstats
path: root/src/library/library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r--src/library/library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp
index 041e797b76..1300f37d9b 100644
--- a/src/library/library.cpp
+++ b/src/library/library.cpp
@@ -517,7 +517,7 @@ void Library::slotRequestRemoveDir(QString dir, RemovalType removalType) {
case Library::HideTracks:
// Mark all tracks in this directory as deleted but DON'T purge them
// in case the user re-adds them manually.
- m_pTrackCollection->getTrackDAO().markTracksAsMixxxDeleted(dir);
+ m_pTrackCollection->hideAllTracks(dir);
break;
case Library::PurgeTracks:
// The user requested that we purge all metadata.