summaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer
diff options
context:
space:
mode:
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; \
}