summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-08-29 09:07:20 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-08-29 09:07:55 +0200
commit4cb0e2232ae648775344b17cb3e48958d64a239a (patch)
tree7956bfece6bc13dd4e9550835ff0cdf4039b9acc /src/display.cpp
parentddeec3aea0fad204fe3fbc62f2f13e0804a93f00 (diff)
fix compilation --without-taglib
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/display.cpp b/src/display.cpp
index d7ebfbda..d3725574 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -336,7 +336,7 @@ void Display::Songs(const MPD::Song &s, void *data, Menu<MPD::Song> *menu)
*menu << fmtUnderlineEnd;
}
-void Display::Tags(const MPD::Song &s, void *data, Menu<MPD::Song> *menu)
+void Display::Tags(const MPD::MutableSong &s, void *data, Menu<MPD::MutableSong> *menu)
{
size_t i = static_cast<Menu<std::string> *>(data)->Choice();
if (i < 11)
@@ -345,12 +345,10 @@ void Display::Tags(const MPD::Song &s, void *data, Menu<MPD::Song> *menu)
}
else if (i == 12)
{
- // FIXME
- /*if (s.GetNewName().empty())
+ if (s.getNewURI().empty())
*menu << s.getName();
else
- *menu << s.getName() << Config.color2 << " -> " << clEnd << s.GetNewName();
- */
+ *menu << s.getName() << Config.color2 << " -> " << clEnd << s.getNewURI();
}
}