kio: correct logic for hiding user name in KIO::SlaveBase::openPasswordDialog()

that nasty operator not..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-21 17:12:52 +03:00
parent 020f82e5d7
commit b5b1741ca5

View file

@ -596,7 +596,7 @@ bool SlaveBase::openPasswordDialog(AuthInfo& info, const QString &errorMsg)
dialogFlags |= KPasswordDialog::ShowAnonymousLoginCheckBox;
}
if (!dlgInfo.hideUserName) {
if (dlgInfo.hideUserName == false) {
dialogFlags |= KPasswordDialog::ShowUsernameLine;
}