Notify failures when loading the source JSON

This commit is contained in:
Thiago Marcos P. Santos
2015-05-19 01:42:13 +03:00
parent da81211fea
commit 90fd06762c
5 changed files with 29 additions and 2 deletions

View File

@@ -108,6 +108,10 @@ void ResourceLoader::onSourceLoaded() {
emitTileDataChanged();
}
void ResourceLoader::onSourceLoadingFailed(std::exception_ptr error) {
emitResourceLoadingFailed(error);
}
void ResourceLoader::onTileLoaded(bool isNewTile) {
if (isNewTile) {
shouldReparsePartialTiles_ = true;