diff options
Diffstat (limited to 'wifi/kwifimanager.cpp')
-rw-r--r-- | wifi/kwifimanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wifi/kwifimanager.cpp b/wifi/kwifimanager.cpp index f67ffccc..67b9378e 100644 --- a/wifi/kwifimanager.cpp +++ b/wifi/kwifimanager.cpp @@ -143,10 +143,10 @@ void KWiFiManagerApp::init_whois_db () { KStandardDirs finder; - TQString kdedir = + TQString tdedir = finder.findResourceDir ("data", "kwifimanager/locations/NOWHERE.loc"); - kdedir += "kwifimanager/locations/"; - TQDir *locations = new TQDir (kdedir); + tdedir += "kwifimanager/locations/"; + TQDir *locations = new TQDir (tdedir); if (!locations->exists ()) kdDebug () << "A grave error occurred while searching for files with AccessPoint information." << endl; @@ -158,7 +158,7 @@ KWiFiManagerApp::init_whois_db () { if ((*it) != "." && (*it) != "..") { - TQFile datei (kdedir + (*it)); + TQFile datei (tdedir + (*it)); datei.open (IO_ReadOnly); while (datei.readLine (content, 255) != -1) { |