┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/places/placespanel.h')
-rw-r--r--src/panels/places/placespanel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h
index 6c37301ad..ef213ab30 100644
--- a/src/panels/places/placespanel.h
+++ b/src/panels/places/placespanel.h
@@ -62,7 +62,7 @@ private Q_SLOTS:
void slotContextMenuAboutToShow(const QModelIndex &index, QMenu *menu);
void slotTearDownRequested(const QModelIndex &index);
void slotTearDownRequestedExternally(const QString &udi);
- void slotTearDownDone(Solid::ErrorType error, const QVariant& errorData);
+ void slotTearDownDone(const QModelIndex &index, Solid::ErrorType error, const QVariant &errorData);
void slotRowsInserted(const QModelIndex &parent, int first, int last);
void slotRowsAboutToBeRemoved(const QModelIndex &parent, int first, int last);
@@ -72,7 +72,7 @@ private:
QUrl m_url; // only used for initial setUrl
QList<QAction*> m_customContextMenuActions;
- Solid::StorageAccess *m_deviceToTearDown = nullptr;
+ QPersistentModelIndex m_indexToTearDown;
QAction *m_configureTrashAction;
QAction *m_lockPanelsAction;