summaryrefslogtreecommitdiffstats
path: root/src/locater.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 14:30:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 14:30:23 -0600
commit30c6cf311507c9bf7eeb706ea8948c5c81aa1404 (patch)
tree92c025f23d7666581db15bdb901ad34bcf7a58c7 /src/locater.cpp
parente621be81bb814466886544a9a6d9a328c24d88f7 (diff)
downloadtdeio-locate-30c6cf311507c9bf7eeb706ea8948c5c81aa1404.tar.gz
tdeio-locate-30c6cf311507c9bf7eeb706ea8948c5c81aa1404.zip
Fix FTBFS
Diffstat (limited to 'src/locater.cpp')
-rw-r--r--src/locater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locater.cpp b/src/locater.cpp
index 120ec99..a160673 100644
--- a/src/locater.cpp
+++ b/src/locater.cpp
@@ -57,9 +57,9 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu
// Automatically choose the correct binary if not specified.
if (binary.isEmpty()) {
- if (KStandardDirs::findExe("slocate")) {
+ if (!KStandardDirs::findExe("slocate").isNull()) {
m_binary = "slocate";
- } else if (KStandardDirs::findExe("rlocate")) {
+ } else if (!KStandardDirs::findExe("rlocate").isNull()) {
m_binary = "rlocate";
} else {
m_binary = "locate";