summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/info_svr4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/info/info_svr4.cpp')
-rw-r--r--kcontrol/info/info_svr4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/info/info_svr4.cpp b/kcontrol/info/info_svr4.cpp
index 1f71246b7..ba491a50e 100644
--- a/kcontrol/info/info_svr4.cpp
+++ b/kcontrol/info/info_svr4.cpp
@@ -55,9 +55,9 @@ bool GetInfo_ReadfromFile( TQListView *lBox, char *Name, char splitchar )
}
TQString s1 = TQString::fromLocal8Bit(buf);
- TQString s2 = s1.mid(s1.tqfind(splitchar)+1);
+ TQString s2 = s1.mid(s1.find(splitchar)+1);
- s1.truncate(s1.tqfind(splitchar));
+ s1.truncate(s1.find(splitchar));
if(!(s1.isEmpty() || s2.isEmpty()))
olditem = new TQListViewItem(lBox, olditem, s1, s2);
}