summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-06-14 15:44:42 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-06-19 09:50:08 -0700
commita33cad98557f2d15bfb578e4795b130d25a2def2 (patch)
tree051ee0078e7edc2ed7d465e052b85cca7093d6a6 /test/style
parentca45974ff2778a48d01b7221b6ab406c3e55c9ca (diff)
downloadqtlocation-mapboxgl-a33cad98557f2d15bfb578e4795b130d25a2def2.tar.gz
[core] Trigger repaint on source changes
Diffstat (limited to 'test/style')
-rw-r--r--test/style/source.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index aa55db7292..eaa3c72877 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -518,7 +518,7 @@ TEST(Source, ImageSourceImageUpdate) {
response.data = std::make_unique<std::string>(util::read_file("test/fixtures/image/no_profile.png"));
return response;
};
- test.styleObserver.sourceLoaded = [&] (Source&) {
+ test.styleObserver.sourceChanged = [&] (Source&) {
// Should be called (test will hang if it doesn't)
test.end();
};