summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/LogFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/LogFile.cpp')
-rw-r--r--ksysguard/gui/SensorDisplayLib/LogFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/LogFile.cpp b/ksysguard/gui/SensorDisplayLib/LogFile.cpp
index a8b22569d..763953163 100644
--- a/ksysguard/gui/SensorDisplayLib/LogFile.cpp
+++ b/ksysguard/gui/SensorDisplayLib/LogFile.cpp
@@ -181,8 +181,8 @@ LogFile::restoreSettings(TQDomElement& element)
TQFont font;
TQColorGroup cgroup = monitor->colorGroup();
- cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", Qt::green));
- cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", Qt::black));
+ cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", TQt::green));
+ cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", TQt::black));
monitor->setPalette(TQPalette(cgroup, cgroup, cgroup));
addSensor(element.attribute("hostName"), element.attribute("sensorName"), (element.attribute("sensorType").isEmpty() ? "logfile" : element.attribute("sensorType")), element.attribute("title"));