Skip to content
Permalink
Browse files

fix precise build

  • Loading branch information
jef-n committed Oct 30, 2015
1 parent 16e902b commit 3a93ca62a9b41bd93dec00abb6337eaaae6eaa67
Showing with 9 additions and 9 deletions.
  1. +9 −9 src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
@@ -394,7 +394,7 @@ void QgsStyleV2ExportImportDialog::clearSelection()

void QgsStyleV2ExportImportDialog::selectSymbols( const QStringList symbolNames )
{
Q_FOREACH( const QString &symbolName, symbolNames )
Q_FOREACH ( const QString &symbolName, symbolNames )
{
QModelIndexList indexes = listItems->model()->match( listItems->model()->index( 0, 0 ), Qt::DisplayRole, symbolName , 1, Qt::MatchFixedString | Qt::MatchCaseSensitive );
Q_FOREACH ( const QModelIndex &index, indexes )
@@ -419,34 +419,34 @@ void QgsStyleV2ExportImportDialog::deselectSymbols( const QStringList symbolName

void QgsStyleV2ExportImportDialog::selectGroup( const QString groupName )
{
QStringList symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::StyleEntity::SymbolEntity, mQgisStyle->groupId( groupName ) );
QStringList symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::SymbolEntity, mQgisStyle->groupId( groupName ) );
selectSymbols( symbolNames );
symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::StyleEntity::ColorrampEntity, mQgisStyle->groupId( groupName ) );
symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::ColorrampEntity, mQgisStyle->groupId( groupName ) );
selectSymbols( symbolNames );
}


void QgsStyleV2ExportImportDialog::deselectGroup( const QString groupName )
{
QStringList symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::StyleEntity::SymbolEntity, mQgisStyle->groupId( groupName ) );
QStringList symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::SymbolEntity, mQgisStyle->groupId( groupName ) );
deselectSymbols( symbolNames );
symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::StyleEntity::ColorrampEntity, mQgisStyle->groupId( groupName ) );
symbolNames = mQgisStyle->symbolsOfGroup( QgsStyleV2::ColorrampEntity, mQgisStyle->groupId( groupName ) );
deselectSymbols( symbolNames );
}

void QgsStyleV2ExportImportDialog::selectSmartgroup( const QString groupName )
{
QStringList symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::StyleEntity::SymbolEntity, mQgisStyle->smartgroupId( groupName ) );
QStringList symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::SymbolEntity, mQgisStyle->smartgroupId( groupName ) );
selectSymbols( symbolNames );
symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::StyleEntity::ColorrampEntity, mQgisStyle->smartgroupId( groupName ) );
symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::ColorrampEntity, mQgisStyle->smartgroupId( groupName ) );
selectSymbols( symbolNames );
}

void QgsStyleV2ExportImportDialog::deselectSmartgroup( const QString groupName )
{
QStringList symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::StyleEntity::SymbolEntity, mQgisStyle->smartgroupId( groupName ) );
QStringList symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::SymbolEntity, mQgisStyle->smartgroupId( groupName ) );
deselectSymbols( symbolNames );
symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::StyleEntity::ColorrampEntity, mQgisStyle->smartgroupId( groupName ) );
symbolNames = mQgisStyle->symbolsOfSmartgroup( QgsStyleV2::ColorrampEntity, mQgisStyle->smartgroupId( groupName ) );
deselectSymbols( symbolNames );
}

0 comments on commit 3a93ca6

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