diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-14 13:12:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-14 13:12:42 +0200 |
commit | 6bca7c8fb40c81c4cb02790689fe94f37e233edf (patch) | |
tree | 80188c7c417b8bab76869ef85dd02d07c25d04ca /common/synchronizerstore.h | |
parent | d135fa0387672c10bad70b44867470affe1a3232 (diff) | |
download | sink-6bca7c8fb40c81c4cb02790689fe94f37e233edf.tar.gz sink-6bca7c8fb40c81c4cb02790689fe94f37e233edf.zip |
Avoid creating unnecessary rid mappings
Diffstat (limited to 'common/synchronizerstore.h')
-rw-r--r-- | common/synchronizerstore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/synchronizerstore.h b/common/synchronizerstore.h index 8aef68e..946ea11 100644 --- a/common/synchronizerstore.h +++ b/common/synchronizerstore.h | |||
@@ -46,7 +46,7 @@ public: | |||
46 | * | 46 | * |
47 | * The new local id is recorded in the local to remote id mapping. | 47 | * The new local id is recorded in the local to remote id mapping. |
48 | */ | 48 | */ |
49 | QByteArray resolveRemoteId(const QByteArray &type, const QByteArray &remoteId); | 49 | QByteArray resolveRemoteId(const QByteArray &type, const QByteArray &remoteId, bool insertIfMissing = true); |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * Tries to find a remote id for a local id. | 52 | * Tries to find a remote id for a local id. |