aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/udisks/udisksmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/udisks/udisksmanager.cpp')
-rw-r--r--src/plugins/General/udisks/udisksmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/General/udisks/udisksmanager.cpp b/src/plugins/General/udisks/udisksmanager.cpp
index a05b4d0ad..2062aa38a 100644
--- a/src/plugins/General/udisks/udisksmanager.cpp
+++ b/src/plugins/General/udisks/udisksmanager.cpp
@@ -38,6 +38,10 @@ UDisksManager::UDisksManager(QObject *parent)
"org.freedesktop.UDisks", "DeviceRemoved",
this, SIGNAL(deviceRemoved(QDBusObjectPath)));
+ m_interface->connection().connect("org.freedesktop.UDisks", "/org/freedesktop/UDisks",
+ "org.freedesktop.UDisks", "DeviceChanged",
+ this, SIGNAL(deviceChanged(QDBusObjectPath)));
+
}