summaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:03:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:03:23 +0200
commitc170347975ecc096314e9cf744d47ece6ffb1325 (patch)
tree7fad22691463d3c12a2591bac3b5f265ed011cba /src/modules/mediaplayer
parent72db948aa604ee7a360123208534c5aa440be22a (diff)
downloadkvirc-c170347975ecc096314e9cf744d47ece6ffb1325.tar.gz
kvirc-c170347975ecc096314e9cf744d47ece6ffb1325.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/modules/mediaplayer')
-rw-r--r--src/modules/mediaplayer/mp_amarokinterface.cpp4
-rw-r--r--src/modules/mediaplayer/mp_jukinterface.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/mediaplayer/mp_amarokinterface.cpp b/src/modules/mediaplayer/mp_amarokinterface.cpp
index 7a458b2e..77064507 100644
--- a/src/modules/mediaplayer/mp_amarokinterface.cpp
+++ b/src/modules/mediaplayer/mp_amarokinterface.cpp
@@ -79,7 +79,7 @@ bool KviAmarokInterface::setVol(kvs_int_t &iVol)
TQString KviAmarokInterface::_fncname() \
{ \
TQString ret; \
- if(!stringRetVoidDCOPCall(_iface,_fnc,ret))return false; \
+ if(!stringRetVoidDCOPCall(_iface,_fnc,ret))return 0; \
return ret; \
}
@@ -168,7 +168,7 @@ KviMediaPlayerInterface::PlayerStatus KviAmarokInterface::status()
TQString KviAmarokInterface::mrl()
{
TQString ret;
- if(!stringRetVoidDCOPCall("player","encodedURL()",ret))return false;
+ if(!stringRetVoidDCOPCall("player","encodedURL()",ret))return 0;
KURL url(ret);
return url.prettyURL();
}
diff --git a/src/modules/mediaplayer/mp_jukinterface.cpp b/src/modules/mediaplayer/mp_jukinterface.cpp
index 190b0aff..3ce2abc4 100644
--- a/src/modules/mediaplayer/mp_jukinterface.cpp
+++ b/src/modules/mediaplayer/mp_jukinterface.cpp
@@ -102,7 +102,7 @@ bool KviJukInterface::setShuffle(bool &bVal)
TQString KviJukInterface::_fncname() \
{ \
TQString ret; \
- if(!stringRetVoidDCOPCall(_iface,_fnc,ret))return false; \
+ if(!stringRetVoidDCOPCall(_iface,_fnc,ret))return 0; \
return ret; \
}