Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
fb4a7b32
Commit
fb4a7b32
authored
Jul 01, 2014
by
Gavin Bisesi
Browse files
Give more friendly login error message
parent
e955732b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_main.cpp
View file @
fb4a7b32
...
...
@@ -241,7 +241,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
{
switch
(
r
)
{
case
Response
::
RespWrongPassword
:
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"In
valid login data
."
));
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"In
correct username or password. Please check your authentication information and try again
."
));
break
;
case
Response
::
RespWouldOverwriteOldSession
:
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"There is already an active session using this user name.
\n
Please close that session first and re-login."
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment