fixed incorrect mapping from selected source to type
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@351 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
7b6a72d62a
commit
7a84fc3a92
|
@ -318,7 +318,7 @@ private:
|
|||
static SyncSource *createSource(ClientTest &client, int type, bool isSourceA) {
|
||||
string changeID = "SyncEvolution Change ID #";
|
||||
changeID += isSourceA ? "1" : "2";
|
||||
string database = ((TestEvolution &)client).getDatabaseName((SourceType)type);
|
||||
string database = ((TestEvolution &)client).getDatabaseName(((TestEvolution &)client).enabledSources[type]);
|
||||
|
||||
switch (type) {
|
||||
#ifdef ENABLE_EBOOK
|
||||
|
|
Loading…
Reference in New Issue