]> Some of my projects - aniplayer-old.git/commitdiff
emit replyReady() on all replies.
authorAPTX <redacted>
Thu, 31 Dec 2009 19:49:53 +0000 (20:49 +0100)
committerAPTX <redacted>
Thu, 31 Dec 2009 19:49:53 +0000 (20:49 +0100)
lib/anidbudpclient/authcommand.cpp

index 517aeb1..dab0e88 100644 (file)
@@ -102,12 +102,15 @@ qDebug() << replyCode;
                break;
                case LOGIN_FAILED:
                        m_errorString = tr("Username and/or password incorrect");
+                       emit replyReady(false);
                break;
                case CLIENT_VERSION_OUTDATED:
                        m_errorString = tr("Client version outdated");
+                       emit replyReady(false);
                break;
                case CLIENT_BANNED:
                        m_errorString = tr("Banned: %1").arg(m_rawReply.mid(m_rawReply.indexOf("BANNED") + 1));
+                       emit replyReady(false);
                break;
                default:
 qDebug() << "ERROR CODE: " << replyCode;