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

Switch around when the oauthtwitter gets its nam and add some debug

This commit is contained in:
Jeff Mitchell
2011-05-03 14:18:05 -04:00
parent b42e36a240
commit fe478a0759
5 changed files with 14 additions and 15 deletions

View File

@@ -206,7 +206,7 @@ lastfm::nam()
NetworkAccessManager* newNam = new NetworkAccessManager();
threadNamHash[thread] = newNam;
ourNamHash[thread] = true;
qDebug() << Q_FUNC_INFO << " returning " << dynamic_cast<QNetworkAccessManager*>(newNam);
qDebug() << Q_FUNC_INFO << " returning " << threadNamHash[thread];
return newNam;
}
qDebug() << Q_FUNC_INFO << " found a nam, is " << threadNamHash[thread];

View File

@@ -2,8 +2,8 @@
#include <QInputDialog>
#include <QDebug>
TomahawkOAuthTwitter::TomahawkOAuthTwitter( QObject* parent )
: OAuthTwitter( parent )
TomahawkOAuthTwitter::TomahawkOAuthTwitter( QNetworkAccessManager *nam, QObject* parent )
: OAuthTwitter( nam, parent )
{
}

View File

@@ -10,7 +10,7 @@ class QTWEETLIBSHARED_EXPORT TomahawkOAuthTwitter : public OAuthTwitter
Q_OBJECT
public:
TomahawkOAuthTwitter( QObject *parent = 0 );
TomahawkOAuthTwitter( QNetworkAccessManager *nam, QObject *parent = 0 );
~TomahawkOAuthTwitter() {}