Commit a975f0dd authored by Daenyth's avatar Daenyth
Browse files

Merge pull request #2 from VanNostrand/RespUsernameInvalid-fix

Fixed duplicate case compile error
parents 347d30a8 1bf4f74a
...@@ -258,7 +258,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32 ...@@ -258,7 +258,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
QMessageBox::critical(this, tr("Error"), bannedStr); QMessageBox::critical(this, tr("Error"), bannedStr);
break; break;
} }
case Response::RespUserIsBanned: case Response::RespUsernameInvalid:
QMessageBox::critical(this, tr("Error"), tr("Invalid username.")); QMessageBox::critical(this, tr("Error"), tr("Invalid username."));
break; break;
default: default:
......
Supports Markdown
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