always set encoding, we might have to overwrite an encoding set earlier

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@355 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2007-04-12 20:04:53 +00:00
parent e25c0608c3
commit 2a3a7f36a4

View file

@ -242,9 +242,7 @@ public:
for (SyncSource **source = sources;
*source;
source++) {
if (m_encoding) {
(*source)->getConfig().setEncoding(m_encoding);
}
(*source)->getConfig().setEncoding(m_encoding ? m_encoding : "");
(*source)->setPreferredSyncMode(m_syncMode);
}
DeviceConfig &dc(config.getDeviceConfig());