From 30c6cf311507c9bf7eeb706ea8948c5c81aa1404 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Nov 2011 14:30:23 -0600 Subject: Fix FTBFS --- src/locater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/locater.cpp') 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"; -- cgit v1.2.1