Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
diff --git a/src/core/worker.cpp b/src/core/worker.cpp
|
|
index da423731c..443c8db19 100644
|
|
--- a/src/core/worker.cpp
|
|
+++ b/src/core/worker.cpp
|
|
@@ -343,13 +343,13 @@ Worker *Worker::createWorker(const QString &protocol, const QUrl &url, int &erro
|
|
return nullptr;
|
|
}
|
|
|
|
- if (protocol == QLatin1String("admin") && !lib_path.startsWith(QLatin1String{KDE_INSTALL_FULL_KIO_PLUGINDIR})) {
|
|
+ if (protocol == QLatin1String("admin") && !lib_path.startsWith(QLatin1String("/nix/store"))) {
|
|
error_text = i18nc("@info %2 and %3 are paths",
|
|
"The KIO worker for protocol “%1” in %2 was not loaded because all KIO workers which are located outside of %3 and ask for elevated "
|
|
"privileges are considered insecure.",
|
|
protocol,
|
|
lib_path,
|
|
- QLatin1String{KDE_INSTALL_FULL_KIO_PLUGINDIR});
|
|
+ QLatin1String("/nix/store"));
|
|
error = KIO::ERR_CANNOT_CREATE_WORKER;
|
|
return nullptr;
|
|
}
|