summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/kurltest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/tests/kurltest.cpp')
-rw-r--r--kdecore/tests/kurltest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/tests/kurltest.cpp b/kdecore/tests/kurltest.cpp
index e80561d2c..c8e5bcced 100644
--- a/kdecore/tests/kurltest.cpp
+++ b/kdecore/tests/kurltest.cpp
@@ -384,7 +384,7 @@ int main(int argc, char *argv[])
check("KURL::setFileName()", u2.url(), "file:///home/dfaure/myotherfile.txt");
// more tricky, renaming a directory (kpropsdlg.cc, line ~ 238)
TQString tmpurl = "file:/home/dfaure/myolddir/";
- if ( tmpurl.at(tmpurl.length() - 1) == '/')
+ if ( tmpurl.tqat(tmpurl.length() - 1) == '/')
// It's a directory, so strip the trailing slash first
tmpurl.truncate( tmpurl.length() - 1);
KURL newUrl = tmpurl;