From c6d0a4e508051ce031b29e6f1878bb0b23c7832f Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Mon, 27 Sep 2021 18:59:00 +0800 Subject: [PATCH] fix: should be able to see tab focus white box in bottom bar But actually trigger action for widget under focus need to press the spacebar in Qt, but we already use spacebar for quit app, so it might be actually useful once we got a proper shortcut setting thing. --- app/bottombuttongroup.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/bottombuttongroup.cpp b/app/bottombuttongroup.cpp index 54cf72e..f8600a4 100644 --- a/app/bottombuttongroup.cpp +++ b/app/bottombuttongroup.cpp @@ -24,9 +24,7 @@ BottomButtonGroup::BottomButtonGroup(const std::vector &actionList, Q "background-color:rgba(0,0,0,120)" "}" "QToolButton {" - "background-color:rgba(225,255,255,0);" - "color: white;" - "border-style: none;" + "background:transparent;" "}"); auto newActionBtn = [this](QAction * action) -> QToolButton * {