1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

Return false if can't seek in MPRIS plugin, a string is actually not a boolean.

awainzin--;
This commit is contained in:
Alejandro Wainzinger
2011-08-17 05:58:02 -07:00
parent 79356b9da8
commit a88afe34c2

View File

@@ -191,7 +191,7 @@ MprisPlugin::canSeek() const
{ {
PlaylistInterface *p = AudioEngine::instance()->playlist(); PlaylistInterface *p = AudioEngine::instance()->playlist();
if (!p) if (!p)
return "None"; return false;
return p->seekRestrictions() != PlaylistInterface::NoSeek; return p->seekRestrictions() != PlaylistInterface::NoSeek;
} }