summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/findnic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/kcmlisa/findnic.cpp')
-rw-r--r--lanbrowsing/kcmlisa/findnic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lanbrowsing/kcmlisa/findnic.cpp b/lanbrowsing/kcmlisa/findnic.cpp
index 7de4b19c..61996018 100644
--- a/lanbrowsing/kcmlisa/findnic.cpp
+++ b/lanbrowsing/kcmlisa/findnic.cpp
@@ -192,8 +192,8 @@ NICList* findNICs()
void suggestSettingsForAddress(const TQString& addrMask, LisaConfigInfo& lci)
{
- TQString ip=addrMask.left(addrMask.tqfind("/"));
- TQString tqmask=addrMask.mid(addrMask.tqfind("/")+1);
+ TQString ip=addrMask.left(addrMask.find("/"));
+ TQString tqmask=addrMask.mid(addrMask.find("/")+1);
if (tqmask[tqmask.length()-1]==';')
tqmask=tqmask.left(tqmask.length()-1);