Skip to content

Commit

Permalink
Process configuration also if the project has no own layers (there co…
Browse files Browse the repository at this point in the history
…uld be just embedded ones). Fixes ticket #6340
  • Loading branch information
mhugent committed Sep 15, 2012
1 parent 1880db0 commit 1b803d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/mapserver/qgsprojectparser.cpp
Expand Up @@ -90,12 +90,6 @@ int QgsProjectParser::numberOfLayers() const
void QgsProjectParser::layersAndStylesCapabilities( QDomElement& parentElement, QDomDocument& doc ) const
{
QStringList nonIdentifiableLayers = identifyDisabledLayers();

if ( mProjectLayerElements.size() < 1 )
{
return;
}

QMap<QString, QgsMapLayer *> layerMap;

foreach ( const QDomElement &elem, mProjectLayerElements )
Expand Down

0 comments on commit 1b803d7

Please sign in to comment.