mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[BookmarksToolbarButton] Only fix down state rendering when button is folder
Eg. when the button has menu
This commit is contained in:
parent
2e8c9f690e
commit
a0dba6bd32
|
@ -275,7 +275,7 @@ void BookmarksToolbarButton::paintEvent(QPaintEvent* event)
|
|||
}
|
||||
|
||||
// This ensures correct rendering of Down state with Oxygen
|
||||
if (isDown()) {
|
||||
if (isDown() && menu()) {
|
||||
option.state &= ~QStyle::State_MouseOver;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user