Skip to content
Permalink
Browse files

Emit finshed signal, when the vector layer cache has been initialized.

  • Loading branch information
m-kuhn committed May 13, 2013
1 parent f216ddd commit 7bd435e835037790c9d1200cbe3c2197d1d67e86
Showing with 7 additions and 0 deletions.
  1. +2 −0 src/core/qgsvectorlayercache.cpp
  2. +5 −0 src/core/qgsvectorlayercache.h
@@ -102,6 +102,8 @@ void QgsVectorLayerCache::setFullCache( bool fullCache )
}

it.close();

emit finished();
}
}

@@ -224,6 +224,11 @@ class CORE_EXPORT QgsVectorLayerCache : public QObject
*/
void progress( int i, bool& cancel );

/**
* When filling the cache, this signal gets emitted once the cache is fully initialized.
*/
void finished();

/**
* @brief Is emitted when the cached layer is deleted. Is emitted when the cached layers layerDelete()
* signal is being emitted, but before the local reference to it has been set to NULL. So call to

0 comments on commit 7bd435e

Please sign in to comment.
You can’t perform that action at this time.