D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed

Dominik Haumann noreply at phabricator.kde.org
Wed Sep 11 18:52:42 BST 2019


dhaumann added inline comments.

INLINE COMMENTS

> klistopenfilesjobtest_unix.cpp:34
> +
> +bool HasLsofInstalled()
> +{

Can't you simply use QStandardPaths::findExecutable()?

https://doc.qt.io/qt-5/qstandardpaths.html#findExecutable

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D23884

To: hallas, dfaure
Cc: dhaumann, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190911/2e40489f/attachment.html>


More information about the Kde-frameworks-devel mailing list