D8791: Avoid inconsistent passworddialog

Kees vd Broek noreply at phabricator.kde.org
Mon Nov 13 14:40:42 UTC 2017


cryptodude created this revision.
cryptodude added reviewers: dfaure, cfeck.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  In case the user starts the KPasswordDialog without the KPasswordDialog::ShowUsernameLine,
  the dialog will look a bit odd as the text will still state;
   "Supply a username and password below."
  while there is no username field to fill in.
  
  This patch adds a string and sets it in the constructor on the "prompt" to match the flags passed into the constructor.

TEST PLAN
  Needs more eyes and maybe someone has testcases...

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D8791

AFFECTED FILES
  src/kpassworddialog.cpp

To: cryptodude, dfaure, cfeck
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171113/2bdba90c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list