diff options
Diffstat (limited to 'src/knutclient.cpp')
-rwxr-xr-x | src/knutclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/knutclient.cpp b/src/knutclient.cpp index b146e0e..54c0b52 100755 --- a/src/knutclient.cpp +++ b/src/knutclient.cpp @@ -401,7 +401,7 @@ void KNutClient::initVars (void) { // only for backwards compatibility with older release then 0.7 if (upsData.upsAddress.isEmpty()) { int charPos; - if ((charPos=upsData.upsName.tqfind('@')) == -1) { + if ((charPos=upsData.upsName.find('@')) == -1) { upsData.upsAddress=upsData.upsName; upsData.upsName=""; } |