Remove unused live scanning option
This commit is contained in:
@@ -76,7 +76,6 @@ CollectionWatcher::CollectionWatcher(Song::Source source, QObject *parent)
|
||||
scan_on_startup_(true),
|
||||
monitor_(true),
|
||||
mark_songs_unavailable_(false),
|
||||
live_scanning_(false),
|
||||
stop_requested_(false),
|
||||
rescan_in_progress_(false),
|
||||
rescan_timer_(new QTimer(this)),
|
||||
@@ -480,8 +479,6 @@ void CollectionWatcher::ScanSubdirectory(const QString &path, const Subdirectory
|
||||
|
||||
t->AddToProgress(1);
|
||||
|
||||
if (live_scanning_) t->CommitNewOrUpdatedSongs();
|
||||
|
||||
// Recurse into the new subdirs that we found
|
||||
t->AddToProgressMax(my_new_subdirs.count());
|
||||
for (const Subdirectory &my_new_subdir : my_new_subdirs) {
|
||||
|
||||
@@ -195,7 +195,6 @@ class CollectionWatcher : public QObject {
|
||||
bool scan_on_startup_;
|
||||
bool monitor_;
|
||||
bool mark_songs_unavailable_;
|
||||
bool live_scanning_;
|
||||
|
||||
bool stop_requested_;
|
||||
bool rescan_in_progress_; // True if RescanTracksNow() has been called and is working.
|
||||
|
||||
Reference in New Issue
Block a user