This commit is contained in:
Cranken 2018-01-11 20:50:20 +01:00 committed by GitHub
parent a7fa4160e8
commit e5e79927f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,15 +37,19 @@ AccountPopupWidget::AccountPopupWidget(SharedChannel _channel)
this->permission = permissions::User; this->permission = permissions::User;
for (auto button : this->ui->profileLayout->findChildren<QPushButton *>()) { for (auto button : this->ui->profileLayout->findChildren<QPushButton *>()) {
button->setFocusProxy(this); button->setFocusProxy(this);
button->setAttribute(Qt::WA_MacShowFocusRect, 0);
} }
for (auto button : this->ui->userLayout->findChildren<QPushButton *>()) { for (auto button : this->ui->userLayout->findChildren<QPushButton *>()) {
button->setFocusProxy(this); button->setFocusProxy(this);
button->setAttribute(Qt::WA_MacShowFocusRect, 0);
} }
for (auto button : this->ui->modLayout->findChildren<QPushButton *>()) { for (auto button : this->ui->modLayout->findChildren<QPushButton *>()) {
button->setFocusProxy(this); button->setFocusProxy(this);
button->setAttribute(Qt::WA_MacShowFocusRect, 0);
} }
for (auto button : this->ui->ownerLayout->findChildren<QPushButton *>()) { for (auto button : this->ui->ownerLayout->findChildren<QPushButton *>()) {
button->setFocusProxy(this); button->setFocusProxy(this);
button->setAttribute(Qt::WA_MacShowFocusRect, 0);
} }
this->timeout(this->ui->purge, 1); this->timeout(this->ui->purge, 1);