mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Should fix #190
This commit is contained in:
parent
a7fa4160e8
commit
e5e79927f5
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue