aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/udisks2/udisks2device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/udisks2/udisks2device.cpp')
-rw-r--r--src/plugins/General/udisks2/udisks2device.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/General/udisks2/udisks2device.cpp b/src/plugins/General/udisks2/udisks2device.cpp
index 0733c9931..3d0e84e07 100644
--- a/src/plugins/General/udisks2/udisks2device.cpp
+++ b/src/plugins/General/udisks2/udisks2device.cpp
@@ -24,15 +24,12 @@
#include <QDBusMetaType>
#include "udisks2device.h"
-UDisks2Device::UDisks2Device(QDBusObjectPath o, QObject *parent)
- : QObject(parent)
+UDisks2Device::UDisks2Device(QDBusObjectPath o, QObject *parent) : QObject(parent)
{
m_block_interface = new QDBusInterface("org.freedesktop.UDisks2", o.path(),
"org.freedesktop.UDisks2.Block", QDBusConnection::systemBus(),
this);
- m_fs_interface = new QDBusInterface("org.freedesktop.UDisks2", o.path(),
- "org.freedesktop.UDisks2.Filesystem", QDBusConnection::systemBus(),
- this);
+
QDBusObjectPath drive_object = property("Drive").value<QDBusObjectPath>();
QDBusConnection::systemBus().connect("org.freedesktop.UDisks2", o.path(),