aboutsummaryrefslogtreecommitdiffstats
path: root/src/Stats.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-20 17:48:23 +0100
committerMax Kellermann <max@duempel.org>2013-01-20 17:48:23 +0100
commite1b03b4a716dbb35a737d34fba531e623f7980f3 (patch)
treeac2143b4b3122d594000a70b51ca29fb2c937307 /src/Stats.cxx
parente6ed592b8aeb5025be0893ee99ff44e46a9ffd1c (diff)
downloadmpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.tar.gz
mpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.tar.xz
mpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.zip
PlayerControl: move functions into the class
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r--src/Stats.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index f848a9b03..354d26c59 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -79,7 +79,7 @@ stats_print(Client *client)
stats.album_count,
stats.song_count,
(long)g_timer_elapsed(stats.timer, NULL),
- (long)(pc_get_total_play_time(client->player_control) + 0.5),
+ (long)(client->player_control->GetTotalPlayTime() + 0.5),
stats.song_duration);
if (db_is_simple())