diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-29 12:13:22 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-29 12:13:22 +0200 |
commit | 682b90cc4138ce7d4c2a4eb4b28c8a17b08cd6de (patch) | |
tree | f4dd64be481aa7e5f68005b64ee298d5769255f4 /examples/davresource/davresource.cpp | |
parent | 7088853437e5fb41be8d1e6268764dfc31d9a2f3 (diff) | |
download | sink-682b90cc4138ce7d4c2a4eb4b28c8a17b08cd6de.tar.gz sink-682b90cc4138ce7d4c2a4eb4b28c8a17b08cd6de.zip |
KDE_FORK_SLAVES is no longer necessary
Diffstat (limited to 'examples/davresource/davresource.cpp')
-rw-r--r-- | examples/davresource/davresource.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/davresource/davresource.cpp b/examples/davresource/davresource.cpp index 1d45f20..465220f 100644 --- a/examples/davresource/davresource.cpp +++ b/examples/davresource/davresource.cpp | |||
@@ -232,11 +232,6 @@ public: | |||
232 | DavResource::DavResource(const Sink::ResourceContext &resourceContext) | 232 | DavResource::DavResource(const Sink::ResourceContext &resourceContext) |
233 | : Sink::GenericResource(resourceContext) | 233 | : Sink::GenericResource(resourceContext) |
234 | { | 234 | { |
235 | /* | ||
236 | * Fork KIO slaves (used in kdav), instead of starting them via klauncher. | ||
237 | * Otherwise we have yet another runtime dependency that will i.e. not work in the docker container. | ||
238 | */ | ||
239 | qputenv("KDE_FORK_SLAVES", "TRUE"); | ||
240 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); | 235 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); |
241 | auto resourceUrl = QUrl::fromUserInput(config.value("server").toString()); | 236 | auto resourceUrl = QUrl::fromUserInput(config.value("server").toString()); |
242 | resourceUrl.setUserName(config.value("username").toString()); | 237 | resourceUrl.setUserName(config.value("username").toString()); |