avoid including invalid information about inactive sources in DevInf by clearing it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@464 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
84c7168d9c
commit
3b2ad15743
|
@ -727,6 +727,11 @@ void EvolutionSyncClient::initSources(SourceList &sourceList, EvolutionClientCon
|
|||
|
||||
// also open it; failing now is still safe
|
||||
syncSource->open();
|
||||
} else {
|
||||
// set empty type to prevent inclusion in DevInfo with invalid infos
|
||||
sc.setType("");
|
||||
sc.setVersion("");
|
||||
sc.setSupportedTypes("");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue