catalyst-browser: init at 3.9.4 (#350552)
[NixPkgs.git] / pkgs / kde / frameworks / kio / 0001-Remove-impure-smbd-search-path.patch
blobe541f7a05e8d98943a5e980bc1c24786e5e2928f
1 From af54a2a37655df26a33bc6783cb472c38f65322f Mon Sep 17 00:00:00 2001
2 From: Thomas Tuegel <ttuegel@mailbox.org>
3 Date: Sun, 28 Mar 2021 10:31:12 -0500
4 Subject: [PATCH 1/2] Remove impure smbd search path
6 ---
7 src/core/ksambashare.cpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/core/ksambashare.cpp b/src/core/ksambashare.cpp
11 index e810ce4..7cfb4e6 100644
12 --- a/src/core/ksambashare.cpp
13 +++ b/src/core/ksambashare.cpp
14 @@ -61,7 +61,7 @@ KSambaSharePrivate::~KSambaSharePrivate()
15 bool KSambaSharePrivate::isSambaInstalled()
17 const bool daemonExists =
18 - !QStandardPaths::findExecutable(QStringLiteral("smbd"), {QStringLiteral("/usr/sbin/"), QStringLiteral("/usr/local/sbin/")}).isEmpty();
19 + !QStandardPaths::findExecutable(QStringLiteral("smbd")).isEmpty();
20 if (!daemonExists) {
21 qCDebug(KIO_CORE_SAMBASHARE) << "KSambaShare: Could not find smbd";
23 --
24 2.30.1