mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
fixes "unable to login", discovered during #780,
* fixed bootstrap file * improved timeout of connect, now in single static function * some minor tweaks
This commit is contained in:
@@ -68,8 +68,8 @@ namespace BlackCore
|
||||
|
||||
if (this->m_shutdown) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "Shutdown in progress")); return msgs; }
|
||||
|
||||
QString un(username.trimmed());
|
||||
QString pw(password.trimmed());
|
||||
const QString un(username.trimmed());
|
||||
const QString pw(password.trimmed());
|
||||
if (un.isEmpty()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "No user name/id")); }
|
||||
if (pw.isEmpty()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "No password")); }
|
||||
if (!msgs.isEmpty()) { return msgs; }
|
||||
|
||||
Reference in New Issue
Block a user