1
0
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:
Uwe L. Korn 2014-08-18 16:55:38 +01:00
parent 6cffce4d32
commit 0a315afa9b
7 changed files with 3 additions and 10 deletions

View File

@ -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 );
}

View File

@ -33,7 +33,6 @@
#include "Servent.h"
#include "Source.h"
#include <boost/bind.hpp>
#include <qtconcurrentrun.h>
/* Management of ConnectionManagers */

View File

@ -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 );
}

View File

@ -27,8 +27,6 @@
#include <QMutex>
#include <QStringList>
#include <boost/function.hpp>
class ServentPrivate : public QObject
{
Q_OBJECT

View File

@ -31,8 +31,6 @@
#include "ScriptCommand_LookupUrl.h"
#include "Typedefs.h"
#include <boost/function.hpp>
#include <QObject>
class QWidget;

View File

@ -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 ) )

View File

@ -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();