fb18347e4d
Summary: Indicate state, not the action it will have. When the password field is empty it feels like the password will be shown once I start typing. Dolphin has been doing it this way for the "show hidden files" action forever. Also only show the button when the field contains text or when revealing the password, like in the PolKit dialog. Test Plan: Empty field {F7326288} {F5697017} {F5697018} Dolphin Show hidden files, files are currently hidden {F5697031} Hide hidden files, files are currently shown {F5697032} Reviewers: #plasma, #vdg, ngraham, broulik, ndavis Reviewed By: #vdg, ngraham, ndavis Subscribers: ndavis, kde-frameworks-devel, rizzitello, elvisangelaccio, ngraham, starbuck, plasma-devel Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D10362