1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 01:54:07 +02:00

* Fix compiling.

This commit is contained in:
Christian Muehlhaeuser
2011-09-12 10:46:48 +02:00
parent c626a161cd
commit 7609906994

View File

@@ -21,6 +21,7 @@
#include "twitterconfigwidget.h" #include "twitterconfigwidget.h"
#include <QtPlugin> #include <QtPlugin>
#include <QDateTime>
#include <QRegExp> #include <QRegExp>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include <QNetworkRequest> #include <QNetworkRequest>
@@ -722,7 +723,7 @@ TwitterPlugin::makeConnection( const QString &screenName, const QVariantHash &pe
qDebug() << "TwitterPlugin asked to make connection to our own host and port, ignoring " << screenName; qDebug() << "TwitterPlugin asked to make connection to our own host and port, ignoring " << screenName;
return; return;
} }
QString friendlyName = QString( '@' + screenName ); QString friendlyName = QString( '@' + screenName );
if ( !Servent::instance()->connectedToSession( peerData["node"].toString() ) ) if ( !Servent::instance()->connectedToSession( peerData["node"].toString() ) )
Servent::instance()->connectToPeer( peerData["host"].toString(), Servent::instance()->connectToPeer( peerData["host"].toString(),