diff options
author | Slávek Banko <[email protected]> | 2020-05-31 01:10:57 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-31 01:10:57 +0200 |
commit | f9895a2b80b6c757d9ef3cf94ab5f1b3ba8735c7 (patch) | |
tree | ead453cdca50eaa0fb3252a210d4ccd85411489a /tdeioslave/media/mediamanager/halbackend.cpp | |
parent | 32381684a2eecaaa43616d5bc8ab51780d42e336 (diff) | |
download | tdebase-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.cpp | 10 |
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"); |