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:
2
thirdparty/liblastfm2/src/ws/ws.cpp
vendored
2
thirdparty/liblastfm2/src/ws/ws.cpp
vendored
@@ -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];
|
||||
|
@@ -2,8 +2,8 @@
|
||||
#include <QInputDialog>
|
||||
#include <QDebug>
|
||||
|
||||
TomahawkOAuthTwitter::TomahawkOAuthTwitter( QObject* parent )
|
||||
: OAuthTwitter( parent )
|
||||
TomahawkOAuthTwitter::TomahawkOAuthTwitter( QNetworkAccessManager *nam, QObject* parent )
|
||||
: OAuthTwitter( nam, parent )
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -10,7 +10,7 @@ class QTWEETLIBSHARED_EXPORT TomahawkOAuthTwitter : public OAuthTwitter
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TomahawkOAuthTwitter( QObject *parent = 0 );
|
||||
TomahawkOAuthTwitter( QNetworkAccessManager *nam, QObject *parent = 0 );
|
||||
|
||||
~TomahawkOAuthTwitter() {}
|
||||
|
||||
|
Reference in New Issue
Block a user