Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Port to non-deprecated SlaveBase::openPasswordDialogV2()

parent 651a472b
......@@ -152,7 +152,8 @@ bool SMBSlave::checkPassword(SMBUrl &url)
info.username = url.userName();
qCDebug(KIO_SMB) << "call openPasswordDialog for " << info.url;
if ( openPasswordDialog(info) ) {
const int passwordDialogErrorCode = openPasswordDialogV2(info);
if (passwordDialogErrorCode == KJob::NoError) {
qCDebug(KIO_SMB) << "openPasswordDialog returned " << info.username;
url.setUser(info.username);
......
Markdown is supported
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