diff options
-rw-r--r-- | examples/davresource/davresource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/davresource/davresource.cpp b/examples/davresource/davresource.cpp index 3d23a04..63b254f 100644 --- a/examples/davresource/davresource.cpp +++ b/examples/davresource/davresource.cpp | |||
@@ -235,6 +235,11 @@ public: | |||
235 | DavResource::DavResource(const Sink::ResourceContext &resourceContext) | 235 | DavResource::DavResource(const Sink::ResourceContext &resourceContext) |
236 | : Sink::GenericResource(resourceContext) | 236 | : Sink::GenericResource(resourceContext) |
237 | { | 237 | { |
238 | /* | ||
239 | * Fork KIO slaves (used in kdav), instead of starting them via klauncher. | ||
240 | * Otherwise we have yet another runtime dependency that will i.e. not work in the docker container. | ||
241 | */ | ||
242 | qputenv("KDE_FORK_SLAVES", "TRUE"); | ||
238 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); | 243 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); |
239 | auto resourceUrl = QUrl::fromUserInput(config.value("resourceUrl").toString()); | 244 | auto resourceUrl = QUrl::fromUserInput(config.value("resourceUrl").toString()); |
240 | resourceUrl.setUserName(config.value("username").toString()); | 245 | resourceUrl.setUserName(config.value("username").toString()); |