From ce80c21ea5967b3bc6b416e36453af1b90382322 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 3 Sep 2012 16:17:03 +0200 Subject: [PATCH] status: restore commented out piece of code --- src/status.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status.cpp b/src/status.cpp index a896aebe..af11938c 100644 --- a/src/status.cpp +++ b/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();