From 26c4c8871dc81f403afc3fe921ced68430898f0e Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Thu, 30 Sep 2021 01:41:20 +0800 Subject: [PATCH] fix(bottombar): disable border style if no focus on it --- app/bottombuttongroup.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/bottombuttongroup.cpp b/app/bottombuttongroup.cpp index f8600a4..70e6b4b 100644 --- a/app/bottombuttongroup.cpp +++ b/app/bottombuttongroup.cpp @@ -25,6 +25,9 @@ BottomButtonGroup::BottomButtonGroup(const std::vector &actionList, Q "}" "QToolButton {" "background:transparent;" + "}" + "QToolButton:!focus {" + "border-style: none;" "}"); auto newActionBtn = [this](QAction * action) -> QToolButton * {