Set csync context as module parameter

This commit is contained in:
Klaas Freitag 2012-12-06 17:56:46 +01:00
parent e2d8105f0d
commit f296fad4bb

View File

@ -191,6 +191,7 @@ void CSyncThread::startSync()
// set module properties, mainly the proxy information.
// do not use QLatin1String here because that has to be real const char* for C.
csync_set_module_property(csync, "csync_context", csync);
csync_set_module_property(csync, "proxy_type", proxyTypeToCStr( _proxy.type()) );
csync_set_module_property(csync, "proxy_host", _proxy.hostName().toAscii().data() );
csync_set_module_property(csync, "proxy_user", _proxy.user().toAscii().data() );