mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Fix the problem of the elements being rendered as hovered when a dragging was being done. Regarding your mail Peter, well some variables are bad-named, but their values
were correct :) CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=748962
This commit is contained in:
parent
fb4907dc6d
commit
8fea48eb44
|
@ -744,7 +744,7 @@ void KCategorizedView::paintEvent(QPaintEvent *event)
|
|||
option.state |= QStyle::State_Editing;
|
||||
}
|
||||
|
||||
if ((index == d->hovered) && !d->mouseButtonPressed)
|
||||
if ((index == d->hovered) && !d->mouseButtonPressed && (this->state() != QAbstractItemView::DraggingState))
|
||||
option.state |= QStyle::State_MouseOver;
|
||||
else
|
||||
option.state &= ~QStyle::State_MouseOver;
|
||||
|
|
Loading…
Reference in a new issue