pull/1/head
Darrell Anderson 11 years ago
parent c896492b1b
commit 8633f5b9a9

@ -840,9 +840,9 @@ int K3bDevice::HalConnection::mount( K3bDevice::Device* dev,
TDEStorageDevice* sdevice = static_cast<TDEStorageDevice*>(hwdevice); TDEStorageDevice* sdevice = static_cast<TDEStorageDevice*>(hwdevice);
// FIXME // FIXME
// Options from 'options' are not currently loaded into 'optionString' // Options from 'options' are not currently loaded into 'mountOptions'
TQString optionString; TDEStorageMountOptions mountOptions;
TQString mountedPath = sdevice->mountDevice(mountPoint, optionString); TQString mountedPath = sdevice->mountDevice(mountPoint, mountOptions);
if (mountedPath.isNull()) { if (mountedPath.isNull()) {
return org_freedesktop_Hal_CommunicationError; return org_freedesktop_Hal_CommunicationError;
} }
@ -869,8 +869,8 @@ int K3bDevice::HalConnection::unmount(K3bDevice::Device* dev, const TQStringList
TDEStorageDevice* sdevice = static_cast<TDEStorageDevice*>(hwdevice); TDEStorageDevice* sdevice = static_cast<TDEStorageDevice*>(hwdevice);
// FIXME // FIXME
// Options from 'options' are not currently loaded into 'optionString' // Options from 'options' are not currently loaded into 'mountOptions'
TQString optionString; TQString mountOptions;
if (!sdevice->unmountDevice(NULL)) { if (!sdevice->unmountDevice(NULL)) {
// Unmount failed! // Unmount failed!

Loading…
Cancel
Save