summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager/halbackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/media/mediamanager/halbackend.cpp')
-rw-r--r--tdeioslave/media/mediamanager/halbackend.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeioslave/media/mediamanager/halbackend.cpp b/tdeioslave/media/mediamanager/halbackend.cpp
index e5fc92dc8..157f89212 100644
--- a/tdeioslave/media/mediamanager/halbackend.cpp
+++ b/tdeioslave/media/mediamanager/halbackend.cpp
@@ -1651,7 +1651,7 @@ TQStringVariantMap HALBackend::unmount(const TQString &id)
return result;
}
- if (!medium->isMounted())
+ if (!medium->isMounted()) {
result["result"] = true;
return result;
}
@@ -1834,7 +1834,7 @@ TQStringVariantMap HALBackend::unlock(const TQString &id, const TQString &passwo
return result;
}
- if (!medium->isEncrypted() || !medium->clearDeviceUdi().isNull())
+ if (!medium->isEncrypted() || !medium->clearDeviceUdi().isNull()) {
result["result"] = true;
return result;
}
@@ -1845,7 +1845,7 @@ TQStringVariantMap HALBackend::unlock(const TQString &id, const TQString &passwo
DBusError error;
kdDebug() << "Setting up " << udi << " for crypto\n" <<endl;
-
+
msg = dbus_message_new_method_call ("org.freedesktop.Hal", udi,
"org.freedesktop.Hal.Device.Volume.Crypto",
"Setup");
@@ -1903,7 +1903,7 @@ TQStringVariantMap HALBackend::lock(const TQString &id)
return result;
}
- if (!medium->isEncrypted() || !medium->clearDeviceUdi().isNull())
+ if (!medium->isEncrypted() || !medium->clearDeviceUdi().isNull()) {
result["result"] = true;
return result;
}
@@ -1914,7 +1914,7 @@ TQStringVariantMap HALBackend::lock(const TQString &id)
DBusError error;
kdDebug() << "Tear down " << udi << "\n" <<endl;
-
+
msg = dbus_message_new_method_call ("org.freedesktop.Hal", udi,
"org.freedesktop.Hal.Device.Volume.Crypto",
"Teardown");