remove unnecessary, commented out code

master
Andrzej Rybczak 17 years ago
parent 2f1f650235
commit b4d8c273bb
  1. 10
      src/status_checker.cpp

@ -72,16 +72,10 @@ bool allow_statusbar_unlock = 1;
bool header_update_status = 0; bool header_update_status = 0;
bool repeat_one_allowed = 0; bool repeat_one_allowed = 0;
//time_t past, now = time(NULL)-1;
void TraceMpdStatus() void TraceMpdStatus()
{ {
//past = time(NULL); Mpd->UpdateStatus();
//if (past == now+1) time_t now = time(NULL);
//{
Mpd->UpdateStatus();
time_t now = time(NULL);
//}
if (current_screen == csPlaylist && now == timer+Config.playlist_disable_highlight_delay) if (current_screen == csPlaylist && now == timer+Config.playlist_disable_highlight_delay)
mPlaylist->Highlighting(!Config.playlist_disable_highlight_delay); mPlaylist->Highlighting(!Config.playlist_disable_highlight_delay);

Loading…
Cancel
Save