mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Readability fix
This commit is contained in:
parent
11f610b7ba
commit
13614dc4bb
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user