Skip to content
Permalink
Browse files

fix typos

  • Loading branch information
jef-n committed Jan 15, 2012
1 parent 9a9b53b commit 872e3c9b7738b71f66588457fc1a4acb13e97dca
@@ -235,7 +235,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
lblPreview->setStyleSheet( "" );
txtExpressionString->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 );
return;
}
@@ -260,7 +260,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
}
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.
lblPreview->setText( "" );
}
@@ -157,9 +157,9 @@ class GUI_EXPORT QgsExpressionBuilderWidget : public QWidget, private Ui::QgsExp
/** 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
* 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:
void fillFieldValues( int fieldIndex, int countLimit );
@@ -218,7 +218,7 @@ class QgsGrass
static GRASS_LIB_EXPORT QList<QgsGrass::Color> colors( QString gisdbase, QString location,
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,
QString mapset, QString map, MapType type, double x, double y );

@@ -443,7 +443,7 @@ QgsSpatiaLiteProvider::QgsSpatiaLiteProvider( QString const &uri )
return;
}
enabledCapabilities = QgsVectorDataProvider::SelectAtId | QgsVectorDataProvider::SelectGeometryAtId;
if (( mTableBased | mViewBased ) && !mReadOnly )
if (( mTableBased || mViewBased ) && !mReadOnly )
{
// enabling editing only for Tables [excluding Views and VirtualShapes]
enabledCapabilities |= QgsVectorDataProvider::DeleteFeatures;

0 comments on commit 872e3c9

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