summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 18:03:23 +0200
committerSlávek Banko <[email protected]>2016-09-03 18:03:32 +0200
commit1d821545d608b09e4cf3798178bdc4620026d217 (patch)
treeb3ce0d16fff9dc7b700dbc329a49a48a611b330d /src/modules
parent0cc94235c2e5ccfcc7ba38a957f35b62d0ebbc93 (diff)
downloadkvirc-1d821545d608b09e4cf3798178bdc4620026d217.tar.gz
kvirc-1d821545d608b09e4cf3798178bdc4620026d217.zip
Fix FTBFS with GCC6r14.0.4
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c170347975ecc096314e9cf744d47ece6ffb1325)
Diffstat (limited to 'src/modules')
-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; \
}