status: make idle events handling independent of the order of their arrival

This commit is contained in:
Andrzej Rybczak
2014-09-04 17:39:15 +02:00
parent b4a8b136c9
commit 0b4d7e203b
5 changed files with 50 additions and 36 deletions

View File

@@ -2681,7 +2681,7 @@ void seek()
Progressbar::lock();
Statusbar::lock();
unsigned songpos = Status::elapsedTime();
unsigned songpos = Status::get().elapsedTime();
auto t = Timer;
int old_timeout = wFooter->getTimeout();