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:
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user