|
|
|
@ -3023,9 +3023,6 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
|
|
|
|
|
TQDir valuesdir(valuesnodename);
|
|
|
|
|
valuesdir.setFilter(TQDir::All);
|
|
|
|
|
TQString nodename;
|
|
|
|
|
double bdevice_capacity = 0;
|
|
|
|
|
bool bdevice_has_energy = false;
|
|
|
|
|
bool bdevice_has_time_to_empty = false;
|
|
|
|
|
const TQFileInfoList *dirlist = valuesdir.entryInfoList();
|
|
|
|
|
if (dirlist) {
|
|
|
|
|
TQFileInfoListIterator valuesdirit(*dirlist);
|
|
|
|
@ -3081,6 +3078,9 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
|
|
|
|
|
TQDir valuesdir(valuesnodename);
|
|
|
|
|
valuesdir.setFilter(TQDir::All);
|
|
|
|
|
TQString nodename;
|
|
|
|
|
double bdevice_capacity = 0;
|
|
|
|
|
bool bdevice_has_energy = false;
|
|
|
|
|
bool bdevice_has_time_to_empty = false;
|
|
|
|
|
const TQFileInfoList *dirlist = valuesdir.entryInfoList();
|
|
|
|
|
if (dirlist) {
|
|
|
|
|
TQFileInfoListIterator valuesdirit(*dirlist);
|
|
|
|
|