diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-30 12:06:51 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-30 12:06:51 -0400 |
commit | 848dccbcae8eb3ddf61b0d9344e150b721a8cf75 (patch) | |
tree | 9759641077b36f1c0f3d19a745194b883514b4d3 /src/map/map.cpp | |
parent | 8ebe1bc36033cfbfe9cad5a2a9ef6b5cc803c38e (diff) | |
download | qtlocation-mapboxgl-848dccbcae8eb3ddf61b0d9344e150b721a8cf75.tar.gz |
make view active/inactive around Map::setup, don't leave active after view.resize()
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r-- | src/map/map.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 6db6fa2808..ad8749ff08 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -186,7 +186,9 @@ void Map::terminate(uv_async_t *async, int status) { #pragma mark - Setup void Map::setup() { + view.make_active(); painter.setup(); + view.make_inactive(); } void Map::setStyleURL(const std::string &url) { |