From e5e79927f519466c53f6a747ab41909924b9b502 Mon Sep 17 00:00:00 2001 From: Cranken Date: Thu, 11 Jan 2018 20:50:20 +0100 Subject: [PATCH] Should fix #190 --- src/widgets/accountpopup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/accountpopup.cpp b/src/widgets/accountpopup.cpp index 65e172ada..e990b04a4 100644 --- a/src/widgets/accountpopup.cpp +++ b/src/widgets/accountpopup.cpp @@ -37,15 +37,19 @@ AccountPopupWidget::AccountPopupWidget(SharedChannel _channel) this->permission = permissions::User; for (auto button : this->ui->profileLayout->findChildren()) { button->setFocusProxy(this); + button->setAttribute(Qt::WA_MacShowFocusRect, 0); } for (auto button : this->ui->userLayout->findChildren()) { button->setFocusProxy(this); + button->setAttribute(Qt::WA_MacShowFocusRect, 0); } for (auto button : this->ui->modLayout->findChildren()) { button->setFocusProxy(this); + button->setAttribute(Qt::WA_MacShowFocusRect, 0); } for (auto button : this->ui->ownerLayout->findChildren()) { button->setFocusProxy(this); + button->setAttribute(Qt::WA_MacShowFocusRect, 0); } this->timeout(this->ui->purge, 1);