Merge pull request #2 from VanNostrand/RespUsernameInvalid-fix

Fixed duplicate case compile error
This commit is contained in:
Daenyth 2013-04-02 06:19:09 -07:00
commit a975f0ddba

View file

@ -258,7 +258,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
QMessageBox::critical(this, tr("Error"), bannedStr);
break;
}
case Response::RespUserIsBanned:
case Response::RespUsernameInvalid:
QMessageBox::critical(this, tr("Error"), tr("Invalid username."));
break;
default: