diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-09-23 04:29:52 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-09-23 04:29:52 +0200 |
commit | d2f516d15c5f9a78991d661dd0ea4af4445cd086 (patch) | |
tree | a3736f54dc69835791ad394fd34db1499dbefaa0 /src/song.cpp | |
parent | 01c138e6806053cd8538aa935726226fc0020fb3 (diff) |
replace the last one mpd_song_get_uri with MyFilename()
Diffstat (limited to 'src/song.cpp')
-rw-r--r-- | src/song.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.cpp b/src/song.cpp index 8cab1fcd..baae66e3 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -127,7 +127,7 @@ bool MPD::Song::Empty() const bool MPD::Song::isFromDB() const { - return (mpd_song_get_uri(itsSong)[0] != '/') || itsSlash == std::string::npos; + return (MyFilename()[0] != '/') || itsSlash == std::string::npos; } bool MPD::Song::isStream() const |