1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Possibly fix an old segfault that may or may not be a problem

This commit is contained in:
Dubslow 2015-03-27 15:01:42 -05:00
parent 41efb1491b
commit 5d129b471f
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -140,7 +140,7 @@ void ProfileForm::show(Ui::MainWindow &ui)
ui.mainContent->layout()->addWidget(this);
head->show();
QWidget::show();
bodyUI->userName->setFocus(Qt::OtherFocusReason);
bodyUI->userName->setFocus();
bodyUI->userName->selectAll();
}