summaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-01-20 13:32:43 +0100
committerMax Kellermann <max@musicpd.org>2020-01-20 13:32:43 +0100
commit879bafb8375da2b413d68307c0bcfcd5edb27e69 (patch)
treeeed6337193163074b8cb132facba8fe832145d6e /src/Main.cxx
parent6fcea2d484148c741c3e8870632892deca4c49c9 (diff)
Instance: move OnIdle() to Instance.cxx
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index d443d7bde..61f1d7f2b 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -352,17 +352,6 @@ Instance::BeginShutdownPartitions() noexcept
}
}
-void
-Instance::OnIdle(unsigned flags) noexcept
-{
- /* send "idle" notifications to all subscribed
- clients */
- client_list->IdleAdd(flags);
-
- if (flags & (IDLE_PLAYLIST|IDLE_PLAYER|IDLE_MIXER|IDLE_OUTPUT))
- OnStateModified();
-}
-
static inline void
MainConfigured(const struct options &options, const ConfigData &raw_config)
{