Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 15, 2012
1 parent 9a9b53b commit 872e3c9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -235,7 +235,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
lblPreview->setStyleSheet( "" ); lblPreview->setStyleSheet( "" );
txtExpressionString->setToolTip( "" ); txtExpressionString->setToolTip( "" );
lblPreview->setToolTip( "" ); lblPreview->setToolTip( "" );
// Return false for isVaild because a null expression is still invaild. // Return false for isValid because a null expression is still invalid.
emit expressionParsed( false ); emit expressionParsed( false );
return; return;
} }
Expand All @@ -260,7 +260,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
} }
else else
{ {
// The feautre is invaild because we don't have one but that doesn't mean user can't // The feature is invalid because we don't have one but that doesn't mean user can't
// build a expression string. They just get no preview. // build a expression string. They just get no preview.
lblPreview->setText( "" ); lblPreview->setText( "" );
} }
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsexpressionbuilderwidget.h
Expand Up @@ -157,9 +157,9 @@ class GUI_EXPORT QgsExpressionBuilderWidget : public QWidget, private Ui::QgsExp
/** Emited when the user changes the expression in the widget. /** Emited when the user changes the expression in the widget.
* Users of this widget should connect to this signal to decide if to let the user * Users of this widget should connect to this signal to decide if to let the user
* continue. * continue.
* @param isVaild Is true if the expression the user has typed is vaild. * @param isValid Is true if the expression the user has typed is valid.
*/ */
void expressionParsed( bool isVaild ); void expressionParsed( bool isValid );


private: private:
void fillFieldValues( int fieldIndex, int countLimit ); void fillFieldValues( int fieldIndex, int countLimit );
Expand Down
2 changes: 1 addition & 1 deletion src/providers/grass/qgsgrass.h
Expand Up @@ -218,7 +218,7 @@ class QgsGrass
static GRASS_LIB_EXPORT QList<QgsGrass::Color> colors( QString gisdbase, QString location, static GRASS_LIB_EXPORT QList<QgsGrass::Color> colors( QString gisdbase, QString location,
QString mapset, QString map ); QString mapset, QString map );


// ! Get map value / feautre info // ! Get map value / feature info
static GRASS_LIB_EXPORT QMap<QString, QString> query( QString gisdbase, QString location, static GRASS_LIB_EXPORT QMap<QString, QString> query( QString gisdbase, QString location,
QString mapset, QString map, MapType type, double x, double y ); QString mapset, QString map, MapType type, double x, double y );


Expand Down
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -443,7 +443,7 @@ QgsSpatiaLiteProvider::QgsSpatiaLiteProvider( QString const &uri )
return; return;
} }
enabledCapabilities = QgsVectorDataProvider::SelectAtId | QgsVectorDataProvider::SelectGeometryAtId; enabledCapabilities = QgsVectorDataProvider::SelectAtId | QgsVectorDataProvider::SelectGeometryAtId;
if (( mTableBased | mViewBased ) && !mReadOnly ) if (( mTableBased || mViewBased ) && !mReadOnly )
{ {
// enabling editing only for Tables [excluding Views and VirtualShapes] // enabling editing only for Tables [excluding Views and VirtualShapes]
enabledCapabilities |= QgsVectorDataProvider::DeleteFeatures; enabledCapabilities |= QgsVectorDataProvider::DeleteFeatures;
Expand Down

0 comments on commit 872e3c9

Please sign in to comment.