Avoids switching folders after a drop while interacting with
the Copy/Move/Link menu.
}
}
+void PlacesPanel::dropEvent(QDropEvent *event)
+{
+ KFilePlacesView::dropEvent(event);
+
+ if (m_dragActivationTimer) {
+ m_dragActivationTimer->stop();
+ m_pendingDragActivation = QPersistentModelIndex();
+ }
+}
+
void PlacesPanel::slotConfigureTrash()
{
const QUrl url = currentIndex().data(KFilePlacesModel::UrlRole).toUrl();
void showEvent(QShowEvent* event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
void dragLeaveEvent(QDragLeaveEvent *event) override;
+ void dropEvent(QDropEvent *event) override;
private Q_SLOTS:
void slotConfigureTrash();