status: restore commented out piece of code

This commit is contained in:
Andrzej Rybczak
2012-09-03 16:17:03 +02:00
parent eb40b7ef91
commit ce80c21ea5

View File

@@ -223,9 +223,9 @@ void NcmpcppStatusChanged(MPD::Connection *, MPD::StatusChanges changed, void *)
if (changed.Playlist)
{
//np = Mpd.GetCurrentlyPlayingSong();
//if (!np.empty())
// WindowTitle(np.toString(Config.song_window_title_format));
np = Mpd.GetCurrentlyPlayingSong();
if (!np.empty())
WindowTitle(np.toString(Config.song_window_title_format));
myPlaylist->Items->clearSearchResults();