┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorThomas Surrel <[email protected]>2018-11-17 14:44:02 +0100
committerThomas Surrel <[email protected]>2018-11-17 14:44:02 +0100
commit1f162f181c9f47d8798a65d9869d99eab287d373 (patch)
tree066e51db0bbb6b5d48b607d8413ac9919c7c6220 /src/panels
parent76c4698870658155aedfbba80904f4b199fdb460 (diff)
parente710a6431160aee57b1eab34b11dfe64e341898c (diff)
Merge remote-tracking branch 'origin/Applications/18.12'
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/places/placesitemmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp
index 86fbf886d..7513a25d5 100644
--- a/src/panels/places/placesitemmodel.cpp
+++ b/src/panels/places/placesitemmodel.cpp
@@ -473,7 +473,8 @@ void PlacesItemModel::slotStorageTearDownDone(Solid::ErrorType error, const QVar
if (error && errorData.isValid()) {
emit errorMessage(errorData.toString());
}
- m_deviceToTearDown->disconnect();
+ disconnect(m_deviceToTearDown, &Solid::StorageAccess::teardownDone,
+ this, &PlacesItemModel::slotStorageTearDownDone);
m_deviceToTearDown = nullptr;
}