1
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:
nowrep 2014-03-23 23:54:09 +01:00
parent 2e8c9f690e
commit a0dba6bd32

View File

@ -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;
}