summaryrefslogtreecommitdiffstats
path: root/common/synchronizerstore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/synchronizerstore.cpp')
-rw-r--r--common/synchronizerstore.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/synchronizerstore.cpp b/common/synchronizerstore.cpp
index ca7e6d2..0d1e154 100644
--- a/common/synchronizerstore.cpp
+++ b/common/synchronizerstore.cpp
@@ -86,7 +86,10 @@ QByteArrayList SynchronizerStore::resolveLocalIds(const QByteArray &bufferType,
86{ 86{
87 QByteArrayList result; 87 QByteArrayList result;
88 for (const auto &l : localIds) { 88 for (const auto &l : localIds) {
89 result << resolveLocalId(bufferType, l); 89 const auto id = resolveLocalId(bufferType, l);
90 if (!id.isEmpty()) {
91 result << id;
92 }
90 } 93 }
91 return result; 94 return result;
92} 95}