summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--knetload/knetload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knetload/knetload.cpp b/knetload/knetload.cpp
index aa700cd..5b61bd8 100644
--- a/knetload/knetload.cpp
+++ b/knetload/knetload.cpp
@@ -54,13 +54,13 @@ KNetLoad::KNetLoad(TQWidget *tqparent, const char *name) :
if ( *it == "lo" ) {
stockDeviceIconOn.push_back("devloon");
stockDeviceIconOff.push_back("devlo");
- } else if ( (*it).tqfind("eth") == 0 ) {
+ } else if ( (*it).find("eth") == 0 ) {
stockDeviceIconOn.push_back("deveth0on");
stockDeviceIconOff.push_back("deveth0");
- } else if ( (*it).tqfind("ppp") == 0 ) {
+ } else if ( (*it).find("ppp") == 0 ) {
stockDeviceIconOn.push_back("devppp0on");
stockDeviceIconOff.push_back("devppp0");
- } else if ( (*it).tqfind("ippp") == 0 ) {
+ } else if ( (*it).find("ippp") == 0 ) {
stockDeviceIconOn.push_back("devippp0on");
stockDeviceIconOff.push_back("devippp0");
} else {