summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-05 14:41:50 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-05 14:41:50 +0800
commit5d36cbe8062af072958c37bb9c71b1e158074d3a (patch)
treed796538ede55de08d17c0c10b48c98a352138a70
parent5f25bd6a8166258aa361b66d17cc7161d624a1ea (diff)
updated signal is emitted only when the catalog *is* updated
-rw-r--r--catalog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog.cxx b/catalog.cxx
index 709d20d..03a90a1 100644
--- a/catalog.cxx
+++ b/catalog.cxx
@@ -55,8 +55,8 @@ namespace ICClient {
for (size_t i = 0; i < catalog->length; i++)
addProduct(Product{catalog->products[i]});
icclient_catalog_free(catalog);
+ emit updated();
}
- emit updated();
}
}