Skip to content

Port to newer KPasswordLineEdit

Carl Schwan requested to merge work/carl/kpasswordwidget-change into master

revealPasswordAvailable is now an enum.

See frameworks/kwidgetsaddons!234 (merged)

Patch done with the follwing script:

find -iname '*.cpp' -exec sed -i 's/setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password"))/setRevealPasswordMode(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")) ? KPasswordLineEdit::RevealPasswordMode::Normal : KPasswordLineEdit::RevealPasswordMode::Never/g' {} \;
Edited by Carl Schwan

Merge request reports

Loading