diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-24 14:30:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-24 14:30:23 -0600 |
commit | 30c6cf311507c9bf7eeb706ea8948c5c81aa1404 (patch) | |
tree | 92c025f23d7666581db15bdb901ad34bcf7a58c7 /src/locater.cpp | |
parent | e621be81bb814466886544a9a6d9a328c24d88f7 (diff) | |
download | tdeio-locate-30c6cf311507c9bf7eeb706ea8948c5c81aa1404.tar.gz tdeio-locate-30c6cf311507c9bf7eeb706ea8948c5c81aa1404.zip |
Fix FTBFS
Diffstat (limited to 'src/locater.cpp')
-rw-r--r-- | src/locater.cpp | 4 |
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"; |