diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-09 15:36:34 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-09 15:36:34 -0500 |
commit | d9dcbdf09366eb7adb70e458b5992049aacc4afd (patch) | |
tree | a92b66899d6e0b2806fbf81f6502ee3365fd67f3 /kcontrol/hwmanager | |
parent | ed0819821bee9faa03303387351bd85937e8e50c (diff) | |
download | tdebase-d9dcbdf09366eb7adb70e458b5992049aacc4afd.tar.gz tdebase-d9dcbdf09366eb7adb70e458b5992049aacc4afd.zip |
Fix FTBFS
Diffstat (limited to 'kcontrol/hwmanager')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index 5483b2d26..a4849af54 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -291,7 +291,7 @@ DevicePropertiesDialog::DevicePropertiesDialog(TDEGenericDevice* device, TQWidge connect(base->buttonDiskMount, TQT_SIGNAL(clicked()), this, TQT_SLOT(mountDisk())); connect(base->buttonDiskUnmount, TQT_SIGNAL(clicked()), this, TQT_SLOT(unmountDisk())); } - + if ((m_device->type() == TDEGenericDeviceType::OtherSensor) || (m_device->type() == TDEGenericDeviceType::ThermalSensor)) { base->groupSensors->setColumnLayout(0, TQt::Vertical ); base->groupSensors->layout()->setSpacing( KDialog::spacingHint() ); @@ -779,9 +779,9 @@ void DevicePropertiesDialog::mountDisk() { if (diskLabel.isNull()) { diskLabel = i18n("%1 Removable Device").arg(sdevice->deviceFriendlySize()); } - TQString optionString; + TDEStorageMountOptions mountOptions; TQString mountMessages; - TQString mountedPath = sdevice->mountDevice(diskLabel, optionString, &mountMessages); + TQString mountedPath = sdevice->mountDevice(diskLabel, mountOptions, &mountMessages); if (mountedPath.isNull()) { qerror = i18n("<qt>Unable to mount this device.<p>Potential reasons include:<br>Improper device and/or user privilege level<br>Corrupt data on storage device"); if (!mountMessages.isNull()) { |