summaryrefslogtreecommitdiffstats
path: root/kpilot/fileInstaller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/fileInstaller.cc')
-rw-r--r--kpilot/fileInstaller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpilot/fileInstaller.cc b/kpilot/fileInstaller.cc
index d02858e..7f659cf 100644
--- a/kpilot/fileInstaller.cc
+++ b/kpilot/fileInstaller.cc
@@ -105,7 +105,7 @@ void FileInstaller::deleteFiles(const TQStringList &files)
{
FUNCTIONSETUP;
- if(!(s.tqendsWith(CSL1(".pdb"), false) || s.tqendsWith(CSL1(".prc"), false))) {
+ if(!(s.endsWith(CSL1(".pdb"), false) || s.endsWith(CSL1(".prc"), false))) {
KMessageBox::detailedSorry(w, i18n("Cannot install %1").tqarg(s),
i18n("Only PalmOS database files (like *.pdb and *.prc) can be installed by the file installer."));
return false;