<table><tr><td style="">cryptodude created this revision.<br />cryptodude added reviewers: dfaure, cfeck.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8791" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In case the user starts the KPasswordDialog without the KPasswordDialog::ShowUsernameLine,<br />
the dialog will look a bit odd as the text will still state;<br />
 "Supply a username and password below."<br />
while there is no username field to fill in.</p>

<p>This patch adds a string and sets it in the constructor on the "prompt" to match the flags passed into the constructor.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Needs more eyes and maybe someone has testcases...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R236 KWidgetsAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8791" rel="noreferrer">https://phabricator.kde.org/D8791</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kpassworddialog.cpp</div></div></div><br /><div><strong>To: </strong>cryptodude, dfaure, cfeck<br /><strong>Cc: </strong>Frameworks<br /></div>