summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager/halbackend.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-31 01:10:57 +0200
committerSlávek Banko <[email protected]>2020-05-31 01:10:57 +0200
commitf9895a2b80b6c757d9ef3cf94ab5f1b3ba8735c7 (patch)
treeead453cdca50eaa0fb3252a210d4ccd85411489a /tdeioslave/media/mediamanager/halbackend.cpp
parent32381684a2eecaaa43616d5bc8ab51780d42e336 (diff)
downloadtdebase-f9895a2b80b6c757d9ef3cf94ab5f1b3ba8735c7.tar.gz
tdebase-f9895a2b80b6c757d9ef3cf94ab5f1b3ba8735c7.zip
Fix missing paired parentheses in HAL media backend.
Signed-off-by: Slávek Banko <[email protected]>
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");