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

This commit is contained in:
Gary Wang 2021-09-30 01:41:20 +08:00
parent c6d0a4e508
commit 26c4c8871d

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 * {