mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 00:11:21 +00:00
Fix the "I can't/don't want to" finish the drag event (what is called
drop :P), and the selection rect is shown. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=678293
This commit is contained in:
parent
c01979aff1
commit
689a80543f
|
@ -818,6 +818,13 @@ void KListView::leaveEvent(QEvent *event)
|
|||
viewport()->update();
|
||||
}
|
||||
|
||||
void KListView::startDrag(Qt::DropActions supportedActions)
|
||||
{
|
||||
d->mouseButtonPressed = false;
|
||||
|
||||
QListView::startDrag(supportedActions);
|
||||
}
|
||||
|
||||
void KListView::rowsInserted(const QModelIndex &parent,
|
||||
int start,
|
||||
int end)
|
||||
|
|
|
@ -66,6 +66,8 @@ protected:
|
|||
|
||||
virtual void leaveEvent(QEvent *event);
|
||||
|
||||
virtual void startDrag(Qt::DropActions supportedActions);
|
||||
|
||||
protected Q_SLOTS:
|
||||
virtual void rowsInserted(const QModelIndex &parent,
|
||||
int start,
|
||||
|
|
Loading…
Reference in a new issue