mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
Do not wrap NetworkReply in shared pointer, we take care of its deletion separately
This commit is contained in:
@@ -611,7 +611,7 @@ JSResolverHelper::returnStreamUrl( const QString& streamUrl, const QMap<QString,
|
|||||||
tDebug() << "Creating a QNetowrkReply with url:" << req.url().toString();
|
tDebug() << "Creating a QNetowrkReply with url:" << req.url().toString();
|
||||||
NetworkReply* reply = new NetworkReply( Tomahawk::Utils::nam()->get( req ) );
|
NetworkReply* reply = new NetworkReply( Tomahawk::Utils::nam()->get( req ) );
|
||||||
|
|
||||||
NewClosure( QSharedPointer<NetworkReply>( reply ) , SIGNAL( finalUrlReached() ), this, SLOT( gotStreamUrl( boost::function< void( QSharedPointer< QIODevice >& ) >, NetworkReply* )), callback, reply );
|
NewClosure( reply , SIGNAL( finalUrlReached() ), this, SLOT( gotStreamUrl( boost::function< void( QSharedPointer< QIODevice >& ) >, NetworkReply* )), callback, reply );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user