fix(bottombar): disable border style if no focus on it

This commit is contained in:
Gary Wang committed 2021-09-30 01:41:20 +08:00
1 parent c6d0a4e508
commit 26c4c8871d
1 file changed
+3
+3
View File
@@ -25,6 +25,9 @@ BottomButtonGroup::BottomButtonGroup(const std::vector<QAction *> &actionList, Q
"}" "}"
"QToolButton {" "QToolButton {"
"background:transparent;" "background:transparent;"
"}"
"QToolButton:!focus {"
"border-style: none;"
"}"); "}");
auto newActionBtn = [this](QAction * action) -> QToolButton * { auto newActionBtn = [this](QAction * action) -> QToolButton * {