diff options
Diffstat (limited to 'examples/webdavcommon/webdav.cpp')
-rw-r--r-- | examples/webdavcommon/webdav.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/webdavcommon/webdav.cpp b/examples/webdavcommon/webdav.cpp index e13d121..904e1e2 100644 --- a/examples/webdavcommon/webdav.cpp +++ b/examples/webdavcommon/webdav.cpp | |||
@@ -97,8 +97,8 @@ WebDavSynchronizer::WebDavSynchronizer(const Sink::ResourceContext &context, | |||
97 | { | 97 | { |
98 | auto config = ResourceConfig::getConfiguration(context.instanceId()); | 98 | auto config = ResourceConfig::getConfiguration(context.instanceId()); |
99 | 99 | ||
100 | server = QUrl::fromUserInput(config.value("server").toString()); | 100 | mServer = QUrl::fromUserInput(config.value("server").toString()); |
101 | username = config.value("username").toString(); | 101 | mUsername = config.value("username").toString(); |
102 | } | 102 | } |
103 | 103 | ||
104 | QList<Sink::Synchronizer::SyncRequest> WebDavSynchronizer::getSyncRequests(const Sink::QueryBase &query) | 104 | QList<Sink::Synchronizer::SyncRequest> WebDavSynchronizer::getSyncRequests(const Sink::QueryBase &query) |
@@ -322,8 +322,8 @@ KDAV2::DavUrl WebDavSynchronizer::serverUrl() const | |||
322 | return {}; | 322 | return {}; |
323 | } | 323 | } |
324 | 324 | ||
325 | auto result = server; | 325 | auto result = mServer; |
326 | result.setUserName(username); | 326 | result.setUserName(mUsername); |
327 | result.setPassword(secret()); | 327 | result.setPassword(secret()); |
328 | 328 | ||
329 | return KDAV2::DavUrl{ result, protocol }; | 329 | return KDAV2::DavUrl{ result, protocol }; |