From e9bd295b3cce63048b141d1fdba844091419a973 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 3 Feb 2022 21:37:30 +0100 Subject: [Places Panel] Make use of KFilePlacesView::dragAutoActivationDelay Code moved to KIO --- src/panels/places/placespanel.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/panels/places/placespanel.h') diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index 570fc43be..97be1f735 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -54,13 +54,9 @@ Q_SIGNALS: protected: 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(); - void slotDragActivationTimeout(); void slotUrlsDropped(const QUrl& dest, QDropEvent* event, QWidget* parent); void slotContextMenuAboutToShow(const QModelIndex &index, QMenu *menu); void slotTearDownRequested(const QModelIndex &index); @@ -75,9 +71,6 @@ private: QUrl m_url; // only used for initial setUrl QList m_customContextMenuActions; - QTimer *m_dragActivationTimer = nullptr; - QPersistentModelIndex m_pendingDragActivation; - Solid::StorageAccess *m_deviceToTearDown = nullptr; QAction *m_configureTrashAction; -- cgit v1.3.1