mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 09:05:04 +01:00
CollectionWatcher: Make sure periodic scan is stopped
This commit is contained in:
parent
7f177aef08
commit
0038cf8c4e
@ -193,7 +193,7 @@ void CollectionWatcher::ReloadSettings() {
|
||||
if (monitor_ && scan_on_startup_ && mark_songs_unavailable_ && !periodic_scan_timer_->isActive()) {
|
||||
periodic_scan_timer_->start();
|
||||
}
|
||||
else if (!mark_songs_unavailable_ && periodic_scan_timer_->isActive()) {
|
||||
else if ((!monitor_ || !scan_on_startup_ || !mark_songs_unavailable_) && periodic_scan_timer_->isActive()) {
|
||||
periodic_scan_timer_->stop();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user