stats: added stats_update()

This commit is contained in:
Max Kellermann
2009-01-04 20:57:06 +01:00
parent 5c477f6067
commit 6acba73509
4 changed files with 11 additions and 7 deletions

View File

@@ -32,7 +32,6 @@
#include "idle.h"
#include "conf.h"
#include "stats.h"
#include "dbUtils.h"
#include "main.h"
#include <glib.h>
@@ -739,8 +738,7 @@ static void update_finished_event(void)
} else {
progress = UPDATE_PROGRESS_IDLE;
stats.numberOfSongs = countSongsIn(NULL);
stats.dbPlayTime = sumSongTimesIn(NULL);
stats_update();
}
}