Readability fix

This commit is contained in:
Nyall Dawson 2017-12-05 08:03:28 +11:00
parent 11f610b7ba
commit 13614dc4bb

View File

@ -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 )