Skip to content

Commit

Permalink
indent, 250fcb followup
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Feb 3, 2016
1 parent 46ed98a commit 351af0b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/plugins/grass/qgsgrassmoduleparam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ QgsGrassModuleMultiParam::QgsGrassModuleMultiParam( QgsGrassModule *module, QStr
QDomElement &qdesc, QDomElement &gdesc, QDomNode &gnode,
bool direct, QWidget * parent )
: QgsGrassModuleGroupBoxItem( module, key, qdesc, gdesc, gnode, direct, parent )
, mLayout(0)
, mParamsLayout(0)
, mButtonsLayout(0)
, mLayout( 0 )
, mParamsLayout( 0 )
, mButtonsLayout( 0 )
{
adjustTitle();
setToolTip( mToolTip );
Expand Down Expand Up @@ -1183,7 +1183,7 @@ void QgsGrassModuleVectorField::updateFields()
{
QgsDebugMsg( "entered" );

Q_FOREACH( QComboBox *comboBox, mComboBoxList )
Q_FOREACH ( QComboBox *comboBox, mComboBoxList )
{
QString current = comboBox->currentText();
comboBox->clear();
Expand Down Expand Up @@ -1216,17 +1216,17 @@ QStringList QgsGrassModuleVectorField::options()
QStringList list;

QStringList valueList;
Q_FOREACH( QComboBox *comboBox, mComboBoxList )
Q_FOREACH ( QComboBox *comboBox, mComboBoxList )
{
if ( !comboBox->currentText().isEmpty() )
if ( !comboBox->currentText().isEmpty() )
{
valueList << comboBox->currentText();
}
}

if ( !valueList.isEmpty() )
{
QString opt = mKey + "=" + valueList.join(",");
QString opt = mKey + "=" + valueList.join( "," );
list << opt;
}

Expand Down

0 comments on commit 351af0b

Please sign in to comment.