152 TVolumeInfo volumeInfo; |
152 TVolumeInfo volumeInfo; |
153 int status(fs.Volume(volumeInfo, index)); |
153 int status(fs.Volume(volumeInfo, index)); |
154 CX_DEBUG(("status getting volume info: %d", status)); |
154 CX_DEBUG(("status getting volume info: %d", status)); |
155 qt_symbian_throwIfError(status); |
155 qt_symbian_throwIfError(status); |
156 |
156 |
157 CX_DEBUG(("TVolumeInfo.iDrive.iType: %d", volumeInfo.iDrive.iType)); |
|
158 CX_DEBUG((" EMediaNotPresent: %d", EMediaNotPresent)); |
|
159 CX_DEBUG((" EMediaUnknown: %d", EMediaUnknown)); |
|
160 CX_DEBUG(("TVolumeInfo.iDrive.iMediaAtt: %d", volumeInfo.iDrive.iMediaAtt)); |
|
161 CX_DEBUG((" KMediaAttLocked: %d", KMediaAttLocked)); |
|
162 |
|
163 // Get critical treshold for free space on the drive. |
157 // Get critical treshold for free space on the drive. |
164 // We must leave the free space above this. |
158 // We must leave the free space above this. |
165 QVariant criticalThreshold; |
159 QVariant criticalThreshold; |
166 settings.get(KCRUidDiskLevel.iUid, KDiskCriticalThreshold, Cxe::Repository, criticalThreshold); |
160 settings.get(KCRUidDiskLevel.iUid, KDiskCriticalThreshold, Cxe::Repository, criticalThreshold); |
167 |
161 |