1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00
Luís Gabriel Lima 2b653da3be * Checking the reply status during the last.fm authentication process
The last.fm API returns "ok" on the status attribute of the reply if
the authentication succeeded and "failed" otherwise [1]. So this patch
verifies if the status returned is "ok" to proceed with the
authentication.

This patch also improves the message displayed in the log when an
authentication error occurs. Now the error message returned by the
server is printed out even when the QNetworkReply::error() != NoError
(the message retuned by the server is a lot more informative).

[1] - http://www.lastfm.it/api/show/auth.getMobileSession
2012-12-30 22:01:08 -03:00
..
2012-12-20 17:07:58 +02:00
2012-12-23 05:55:34 +01:00
2012-12-23 09:06:47 +01:00
2012-11-03 02:37:20 +01:00
2012-11-03 02:37:20 +01:00
2012-11-03 02:37:20 +01:00
2012-11-03 02:37:20 +01:00
2012-12-18 11:35:27 -05:00
2012-11-03 02:37:20 +01:00
2012-12-20 11:31:34 +01:00