diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 13:17:38 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 13:17:38 -0600 |
commit | 1150fa871f205f8a6a9673344b8b0bc1fe62b8be (patch) | |
tree | bdf1202cee363f41d828550d24f02a75f0449e95 | |
parent | 82d47ff1c4f0fb984865a4f377fe689db215c7db (diff) | |
download | tdeio-locate-1150fa871f205f8a6a9673344b8b0bc1fe62b8be.tar.gz tdeio-locate-1150fa871f205f8a6a9673344b8b0bc1fe62b8be.zip |
Rename KStandard for enhanced compatibility with KDE4
-rw-r--r-- | src/locater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locater.cpp b/src/locater.cpp index fc69ecd..617a417 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").isNull()) { + if (!TDEStandardDirs::findExe("slocate").isNull()) { m_binary = "slocate"; - } else if (!KStandardDirs::findExe("rlocate").isNull()) { + } else if (!TDEStandardDirs::findExe("rlocate").isNull()) { m_binary = "rlocate"; } else { m_binary = "locate"; @@ -69,7 +69,7 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu m_binary = binary; } m_additionalArguments = additionalArguments; - m_binaryExists = KStandardDirs::findExe(m_binary) != TQString(); + m_binaryExists = TDEStandardDirs::findExe(m_binary) != TQString(); } |