status: restore commented out piece of code

master
Andrzej Rybczak 14 years ago
parent eb40b7ef91
commit ce80c21ea5
  1. 6
      src/status.cpp

@ -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();

Loading…
Cancel
Save