From f8c2616ab0c874ca97decbe502c1b8290d7e82bd Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 7 Feb 2013 15:33:35 +0000 Subject: fixed udisks2 plugin (Closes issue 574) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3202 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/udisks2/udisks2device.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/plugins/General/udisks2/udisks2device.cpp') 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 #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(); QDBusConnection::systemBus().connect("org.freedesktop.UDisks2", o.path(), -- cgit v1.2.3-13-gbd6f