diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 14:10:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-27 00:05:57 +0900 |
commit | 82c3b55a9a0adaf07917edb3407f7ec8c109aacc (patch) | |
tree | 12e90359f4f07cdac86bf13804b3933b52c23e99 /libk3bdevice | |
parent | b1246c70673b6024314964c991ab0e59174fcbdb (diff) | |
download | k3b-82c3b55a9a0adaf07917edb3407f7ec8c109aacc.tar.gz k3b-82c3b55a9a0adaf07917edb3407f7ec8c109aacc.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libk3bdevice')
-rw-r--r-- | libk3bdevice/k3bhalconnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk3bdevice/k3bhalconnection.cpp b/libk3bdevice/k3bhalconnection.cpp index 7a17bf7..d5b6dfd 100644 --- a/libk3bdevice/k3bhalconnection.cpp +++ b/libk3bdevice/k3bhalconnection.cpp @@ -843,7 +843,7 @@ int K3bDevice::HalConnection::mount( K3bDevice::Device* dev, // FIXME // Options from 'options' are not currently loaded into 'mountOptions' TDEStorageMountOptions mountOptions; - TDEStorageOpResult mountResult = sdevice->mountDevice(mountPoint, mountOptions); + TQStringVariantMap mountResult = sdevice->mountDevice(mountPoint, mountOptions); TQString mountedPath = mountResult.contains("mountPath") ? mountResult["mountPath"].toString() : TQString::null; if (mountedPath.isEmpty()) { return org_freedesktop_Hal_CommunicationError; @@ -874,7 +874,7 @@ int K3bDevice::HalConnection::unmount(K3bDevice::Device* dev, const TQStringList // Options from 'options' are not currently loaded into 'mountOptions' TQString mountOptions; - TDEStorageOpResult unmountResult = sdevice->unmountDevice(); + TQStringVariantMap unmountResult = sdevice->unmountDevice(); if (unmountResult["result"].toBool() == false) { // Unmount failed! return org_freedesktop_Hal_CommunicationError; |