remove unnecessary, commented out code
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user