Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
amarok
> yauap-url.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File yauap-url.diff of Package amarok (Revision 20)
Currently displaying revision
20
,
show latest
------------------------------------------------------------------------ r713921 | mueller | 2007-09-18 11:19:02 +0200 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /branches/stable/extragear/multimedia/amarok/src/engine/yauap/yauap-engine.cpp it is not guaranteed that prettyURL() is a valid URL. use url() instead ------------------------------------------------------------------------ --- amarok/src/engine/yauap/yauap-engine.cpp +++ amarok/src/engine/yauap/yauap-engine.cpp @@ -371,13 +371,13 @@ bool yauapEngine::canDecode( const KURL &kurl ) const { GError *error = NULL; - QString qurl = kurl.prettyURL(); + QString qurl = kurl.url(); const char* url = qurl.ascii(); int can_decode = 0; - - debug() << "In canDecode " << url << endl ; + + debug() << " In canDecode " << url << endl ; if (!dbus_g_proxy_call( remote_object, "can_decode", &error, - G_TYPE_STRING,url, + G_TYPE_STRING, url, G_TYPE_INVALID, G_TYPE_INT,&can_decode, G_TYPE_INVALID)) @@ -387,7 +387,7 @@ yauapEngine::canDecode( const KURL &kurl g_error_free( error ); return false; } - + debug() << "=> " << can_decode << endl; if( can_decode ) @@ -400,10 +400,9 @@ bool yauapEngine::load( const KURL &url, bool isStream ) { GError *error = NULL; - QString qurl = url.prettyURL(); + QString qurl = url.url(); const char* curl = qurl.ascii(); int gerror = 0; - debug() << "In load " << curl << endl; m_isStream = isStream;