From 2a3a7f36a40046fa4fff52d617342fb4c75b3ac7 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 12 Apr 2007 20:04:53 +0000 Subject: [PATCH] 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 --- src/client-test-app.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client-test-app.cpp b/src/client-test-app.cpp index cb9f04f0..bf70b51e 100644 --- a/src/client-test-app.cpp +++ b/src/client-test-app.cpp @@ -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());