diff --git a/src/modules/users/UsersPage.cpp b/src/modules/users/UsersPage.cpp index d0680fd04..062f1d28b 100644 --- a/src/modules/users/UsersPage.cpp +++ b/src/modules/users/UsersPage.cpp @@ -128,7 +128,7 @@ UsersPage::createJobs( const QString& defaultUserGroup, const QStringList& defau void -UsersPage::focusInEvent( QFocusEvent* e ) +UsersPage::onActivate() { ui->textBoxFullName->setFocus(); } diff --git a/src/modules/users/UsersPage.h b/src/modules/users/UsersPage.h index bc9c6ed4d..8fd893388 100644 --- a/src/modules/users/UsersPage.h +++ b/src/modules/users/UsersPage.h @@ -42,8 +42,8 @@ public: QList< Calamares::job_ptr > createJobs( const QString& defaultUserGroup, const QStringList& defaultGroupsList ); -protected: - void focusInEvent( QFocusEvent* e ) override; + + void onActivate(); protected slots: void onFullNameTextEdited( const QString& );