Skip to content

Commit

Permalink
indentation update & warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 20, 2014
1 parent 18af0d8 commit 8a11e51
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/app/qgsattributetabledialog.cpp
Expand Up @@ -236,6 +236,7 @@ void QgsAttributeTableDialog::updateTitle()

void QgsAttributeTableDialog::updateButtonStatus( QString fieldName, bool isValid )
{
Q_UNUSED( fieldName );
mRunFieldCalc->setEnabled( isValid );
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsattributetabledialog.h
Expand Up @@ -153,7 +153,7 @@ class APP_EXPORT QgsAttributeTableDialog : public QDialog, private Ui::QgsAttrib
*/
void updateTitle();

void updateButtonStatus( QString fieldName, bool isValid );
void updateButtonStatus( QString fieldName, bool isValid );
signals:
/**
* Informs that editing mode has been toggled
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsvectorfilewriter.cpp
Expand Up @@ -1548,8 +1548,8 @@ bool QgsVectorFileWriter::addFeature( QgsFeature& feature, QgsFeatureRendererV2*
{
// create the feature
OGRFeatureH poFeature = createFeature( feature );
if( !poFeature )
return false;
if ( !poFeature )
return false;

//add OGR feature style type
if ( mSymbologyExport != NoSymbology && renderer )
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsfieldexpressionwidget.cpp
Expand Up @@ -182,7 +182,7 @@ void QgsFieldExpressionWidget::editExpression()
void QgsFieldExpressionWidget::expressionEdited( const QString expression )
{
updateLineEditStyle( expression );
emit fieldChanged( expression, isValidExpression());
emit fieldChanged( expression, isValidExpression() );
}

void QgsFieldExpressionWidget::expressionEditingFinished()
Expand Down

0 comments on commit 8a11e51

Please sign in to comment.