diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-26 20:41:29 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-26 20:41:29 +0200 |
commit | 6027a8ff2d6ae4eba912427c30c58208009c1ebc (patch) | |
tree | 756eddd2fc9e7a9943b43e6ff3f9e92cbd4c3352 /src/helper.h | |
parent | 45ee5ac6dc2159352596ce8e8ec744e0c864d492 (diff) |
Imported Upstream version 14.9.0.6887~ds0
Diffstat (limited to 'src/helper.h')
-rw-r--r-- | src/helper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helper.h b/src/helper.h index c109388..28770c7 100644 --- a/src/helper.h +++ b/src/helper.h @@ -69,6 +69,12 @@ public: static QStringList resolveSymlinks(const QStringList & files); #endif +#ifdef Q_OS_LINUX + //! Tries to find the executable in the path. + //! Returns the path if found or QString::null if not. + static QString findExecutable(const QString & name); +#endif + private: static QStringList searchForConsecutiveFiles(const QString & initial_file); static QStringList filesInDirectory(const QString & initial_file, const QStringList & filter); |