mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
parent
258f9d77aa
commit
62e9969afb
9 changed files with 307 additions and 10 deletions
|
@ -61,7 +61,7 @@ QString UDisks2Api::_resolveDevice(const QString &device)
|
|||
|
||||
void UDisks2Api::_unmountDrive(const QString &driveDbusPath)
|
||||
{
|
||||
qDebug() << "Drive:" << driveDbusPath;
|
||||
//qDebug() << "Drive:" << driveDbusPath;
|
||||
|
||||
QDBusInterface manager("org.freedesktop.UDisks2", "/org/freedesktop/UDisks2/Manager",
|
||||
"org.freedesktop.UDisks2.Manager", QDBusConnection::systemBus());
|
||||
|
@ -81,7 +81,7 @@ void UDisks2Api::_unmountDrive(const QString &driveDbusPath)
|
|||
if (driveOfDev != driveDbusPath)
|
||||
continue;
|
||||
|
||||
qDebug() << "Device:" << devpathStr << "belongs to same drive";
|
||||
//qDebug() << "Device:" << devpathStr << "belongs to same drive";
|
||||
QDBusInterface filesystem("org.freedesktop.UDisks2", devpathStr,
|
||||
"org.freedesktop.UDisks2.Filesystem", QDBusConnection::systemBus());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue