diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 18:03:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 18:03:32 +0200 |
commit | 1d821545d608b09e4cf3798178bdc4620026d217 (patch) | |
tree | b3ce0d16fff9dc7b700dbc329a49a48a611b330d /src/modules/mediaplayer | |
parent | 0cc94235c2e5ccfcc7ba38a957f35b62d0ebbc93 (diff) | |
download | kvirc-1d821545d608b09e4cf3798178bdc4620026d217.tar.gz kvirc-1d821545d608b09e4cf3798178bdc4620026d217.zip |
Fix FTBFS with GCC6r14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c170347975ecc096314e9cf744d47ece6ffb1325)
Diffstat (limited to 'src/modules/mediaplayer')
-rw-r--r-- | src/modules/mediaplayer/mp_amarokinterface.cpp | 4 | ||||
-rw-r--r-- | src/modules/mediaplayer/mp_jukinterface.cpp | 2 |
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; \ } |