new feature: shorten units' names displayed in statusbar while being in playlist

This commit is contained in:
Andrzej Rybczak
2010-05-14 15:53:50 +02:00
parent 20646600b8
commit 6eae6cd0f6
5 changed files with 13 additions and 2 deletions

View File

@@ -387,12 +387,12 @@ std::string Playlist::TotalLength()
if (itsTotalLength)
{
result << ", length: ";
ShowTime(result, itsTotalLength, 0);
ShowTime(result, itsTotalLength, Config.playlist_shorten_total_times);
}
if (Config.playlist_show_remaining_time && itsRemainingTime && !Items->isFiltered() && Items->Size() > 1)
{
result << " :: remaining: ";
ShowTime(result, itsRemainingTime, 0);
ShowTime(result, itsRemainingTime, Config.playlist_shorten_total_times);
}
result << ')';
return result.str();