summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/MultiMeter.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/MultiMeter.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/MultiMeter.cc b/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
index 3a54aefd3..7050decde 100644
--- a/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
+++ b/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
@@ -166,9 +166,9 @@ MultiMeter::restoreSettings(TQDomElement& element)
bool
MultiMeter::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
{
- element.setAttribute("hostName", sensors().at(0)->hostName());
- element.setAttribute("sensorName", sensors().at(0)->name());
- element.setAttribute("sensorType", sensors().at(0)->type());
+ element.setAttribute("hostName", sensors().tqat(0)->hostName());
+ element.setAttribute("sensorName", sensors().tqat(0)->name());
+ element.setAttribute("sensorType", sensors().tqat(0)->type());
element.setAttribute("showUnit", showUnit());
element.setAttribute("lowerLimitActive", (int) lowerLimitActive);
element.setAttribute("lowerLimit", (int) lowerLimit);