|
|
|
@ -172,11 +172,18 @@ void LoginScreen::onLoginUsernameSelected(const QString &name)
@@ -172,11 +172,18 @@ void LoginScreen::onLoginUsernameSelected(const QString &name)
|
|
|
|
|
{ |
|
|
|
|
ui->loginPasswordLabel->show(); |
|
|
|
|
ui->loginPassword->show(); |
|
|
|
|
// there is no way to do autologin if profile is encrypted, and
|
|
|
|
|
// visible option confuses users into thinking that it is possible,
|
|
|
|
|
// thus disable it (and hope that users won't think that it's a bug)
|
|
|
|
|
ui->autoLoginCB->setEnabled(false); |
|
|
|
|
ui->autoLoginCB->setToolTip(tr("Password protected profile can't be loaded automatically.")); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
ui->loginPasswordLabel->hide(); |
|
|
|
|
ui->loginPassword->hide(); |
|
|
|
|
ui->autoLoginCB->setEnabled(true); |
|
|
|
|
ui->autoLoginCB->setToolTip(""); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|