Skip to content
Permalink
Browse files

Readability fix

  • Loading branch information
nyalldawson committed Dec 4, 2017
1 parent 11f610b commit 13614dc4bb18b68352604ff3ca822d37a6087e02
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaplayermodel.cpp
@@ -154,7 +154,7 @@ void QgsMapLayerModel::removeLayers( const QStringList &layerIds )

void QgsMapLayerModel::addLayers( const QList<QgsMapLayer *> &layers )
{
if ( layers.count( ) )
if ( !layers.empty( ) )
{
int offset = 0;
if ( mAllowEmpty )

0 comments on commit 13614dc

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