mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Remove obsolete mention of boost
This commit is contained in:
parent
6cffce4d32
commit
0a315afa9b
@ -103,7 +103,7 @@ localFileIODeviceFactory( const Tomahawk::result_ptr&, const QString& url,
|
||||
if ( io )
|
||||
io->open( QIODevice::ReadOnly );
|
||||
|
||||
//boost::functions cannot accept temporaries as parameters
|
||||
// std::functions cannot accept temporaries as parameters
|
||||
QSharedPointer< QIODevice > sp = QSharedPointer<QIODevice>( io );
|
||||
callback( url, sp );
|
||||
}
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "Servent.h"
|
||||
#include "Source.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <qtconcurrentrun.h>
|
||||
|
||||
/* Management of ConnectionManagers */
|
||||
|
@ -1261,7 +1261,7 @@ Servent::remoteIODeviceFactory( const Tomahawk::result_ptr& result, const QStrin
|
||||
StreamConnection* sc = new StreamConnection( this, cc, fileId, result );
|
||||
createParallelConnection( cc, sc, QString( "FILE_REQUEST_KEY:%1" ).arg( fileId ) );
|
||||
|
||||
//boost::functions cannot accept temporaries as parameters
|
||||
// std::functions cannot accept temporaries as parameters
|
||||
sp = sc->iodevice();
|
||||
callback( result->url(), sp );
|
||||
}
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include <QMutex>
|
||||
#include <QStringList>
|
||||
|
||||
#include <boost/function.hpp>
|
||||
|
||||
class ServentPrivate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -31,8 +31,6 @@
|
||||
#include "ScriptCommand_LookupUrl.h"
|
||||
#include "Typedefs.h"
|
||||
|
||||
#include <boost/function.hpp>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class QWidget;
|
||||
|
@ -53,8 +53,6 @@
|
||||
#include <QTime>
|
||||
#include <QWebFrame>
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
JSResolver::JSResolver( const QString& accountId, const QString& scriptPath, const QStringList& additionalScriptPaths )
|
||||
: Tomahawk::ExternalResolverGui( scriptPath )
|
||||
, d_ptr( new JSResolverPrivate( this, accountId, scriptPath, additionalScriptPaths ) )
|
||||
|
@ -900,7 +900,7 @@ Q_DECLARE_METATYPE( IODeviceCallback )
|
||||
void
|
||||
JSResolverHelper::gotStreamUrl( function< void( const QString&, QSharedPointer< QIODevice >& ) > callback, NetworkReply* reply )
|
||||
{
|
||||
//boost::functions cannot accept temporaries as parameters
|
||||
// std::functions cannot accept temporaries as parameters
|
||||
QSharedPointer< QIODevice > sp = QSharedPointer< QIODevice >( reply->reply(), &QObject::deleteLater );
|
||||
QString url = reply->reply()->url().toString();
|
||||
reply->disconnectFromReply();
|
||||
|
Loading…
x
Reference in New Issue
Block a user