summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/LogFile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/LogFile.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/LogFile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/LogFile.cc b/ksysguard/gui/SensorDisplayLib/LogFile.cc
index bd74ff2c0..314690513 100644
--- a/ksysguard/gui/SensorDisplayLib/LogFile.cc
+++ b/ksysguard/gui/SensorDisplayLib/LogFile.cc
@@ -62,7 +62,7 @@ LogFile::addSensor(const TQString& hostName, const TQString& sensorName, const T
registerSensor(new KSGRD::SensorProperties(hostName, sensorName, sensorType, title));
- TQString sensorID = sensorName.right(sensorName.length() - (sensorName.tqfindRev("/") + 1));
+ TQString sensorID = sensorName.right(sensorName.length() - (sensorName.findRev("/") + 1));
sendRequest(sensors().tqat(0)->hostName(), TQString("logfile_register %1" ).arg(sensorID), 42);