From a88afe34c24ddc8db269a3e2b54e7c3186c6eb93 Mon Sep 17 00:00:00 2001 From: Alejandro Wainzinger Date: Wed, 17 Aug 2011 05:58:02 -0700 Subject: [PATCH] Return false if can't seek in MPRIS plugin, a string is actually not a boolean. awainzin--; --- src/libtomahawk/infosystem/infoplugins/unix/mprisplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/infosystem/infoplugins/unix/mprisplugin.cpp b/src/libtomahawk/infosystem/infoplugins/unix/mprisplugin.cpp index ad0820a36..73acc8f3b 100644 --- a/src/libtomahawk/infosystem/infoplugins/unix/mprisplugin.cpp +++ b/src/libtomahawk/infosystem/infoplugins/unix/mprisplugin.cpp @@ -191,7 +191,7 @@ MprisPlugin::canSeek() const { PlaylistInterface *p = AudioEngine::instance()->playlist(); if (!p) - return "None"; + return false; return p->seekRestrictions() != PlaylistInterface::NoSeek; }