[users] Refactor retranslation

- move retranslation to a method so that code-formatting doesn't
   get confused by it.
This commit is contained in:
Adriaan de Groot 2019-11-01 13:46:07 +01:00
parent 28c9da414b
commit a4e3ea2a86
2 changed files with 22 additions and 17 deletions

View file

@ -85,6 +85,8 @@ private:
*/
bool checkPasswordAcceptance( const QString& pw1, const QString& pw2, QLabel* badge, QLabel* message );
void retranslate();
Ui::Page_UserSetup* ui;
PasswordCheckList m_passwordChecks;