summaryrefslogtreecommitdiffstats
path: root/kdecore/ksavefile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
commit0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch)
tree5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/ksavefile.cpp
parentcb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff)
downloadtdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.tar.gz
tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.zip
Locked down more ambiguous datatypes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160010 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksavefile.cpp')
-rw-r--r--kdecore/ksavefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/ksavefile.cpp b/kdecore/ksavefile.cpp
index 77b0a6b41..16887a677 100644
--- a/kdecore/ksavefile.cpp
+++ b/kdecore/ksavefile.cpp
@@ -171,7 +171,7 @@ bool KSaveFile::backupFile( const TQString& qFilename, const TQString& backupDir
else
nameOnly = cFilename.mid(slash + 1);
cBackup = TQFile::encodeName(backupDir);
- if ( backupDir[backupDir.length()-1] != '/' )
+ if ( backupDir[backupDir.length()-1] != (QChar)'/' )
cBackup += '/';
cBackup += nameOnly;
}