aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateGlue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateGlue.cxx')
-rw-r--r--src/UpdateGlue.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx
index e9906b84a..5c63efcda 100644
--- a/src/UpdateGlue.cxx
+++ b/src/UpdateGlue.cxx
@@ -32,7 +32,7 @@ extern "C" {
}
#include "Main.hxx"
-#include "Partition.hxx"
+#include "Instance.hxx"
#include "mpd_error.h"
#include <glib.h>
@@ -156,11 +156,9 @@ static void update_finished_event(void)
idle_add(IDLE_UPDATE);
- if (modified) {
+ if (modified)
/* send "idle" events */
- global_partition->playlist.FullIncrementVersions();
- idle_add(IDLE_DATABASE);
- }
+ instance->DatabaseModified();
path = update_queue_shift(&discard);
if (path != NULL) {