Commit 3394f39c authored by Michael Pyne's avatar Michael Pyne

scrobbler: Move auth token message.

This helps avoid the perception that a network request is being made
when it's actually still evaluating whether to send the request or not,
really helps with JuK debug spam.
parent 4b6218b6
......@@ -74,6 +74,8 @@ void Scrobbler::sign(QMap< QString, QString >& params)
void Scrobbler::getAuthToken(QString username, QString password)
{
kDebug() << "Getting new auth token for user:" << username;
QByteArray authToken = md5((username + md5(password.toUtf8())).toUtf8());
QMap<QString, QString> params;
......@@ -95,8 +97,6 @@ void Scrobbler::getAuthToken(QString username, QString password)
void Scrobbler::getAuthToken()
{
kDebug() << "Getting new auth token...";
KConfigGroup config(KGlobal::config(), "Scrobbling");
// TODO: use kwallet
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment