Skip to content
Permalink
Browse files
Readability fix
  • Loading branch information
nyalldawson committed Dec 4, 2017
1 parent 11f610b commit 13614dc
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.