diff options
Diffstat (limited to 'kdecore/ksavefile.cpp')
-rw-r--r-- | kdecore/ksavefile.cpp | 2 |
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; } |