Skip to content

Commit 872e3c9

Browse files
committed
fix typos
1 parent 9a9b53b commit 872e3c9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/gui/qgsexpressionbuilderwidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
235235
lblPreview->setStyleSheet( "" );
236236
txtExpressionString->setToolTip( "" );
237237
lblPreview->setToolTip( "" );
238-
// Return false for isVaild because a null expression is still invaild.
238+
// Return false for isValid because a null expression is still invalid.
239239
emit expressionParsed( false );
240240
return;
241241
}
@@ -260,7 +260,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
260260
}
261261
else
262262
{
263-
// The feautre is invaild because we don't have one but that doesn't mean user can't
263+
// The feature is invalid because we don't have one but that doesn't mean user can't
264264
// build a expression string. They just get no preview.
265265
lblPreview->setText( "" );
266266
}

src/gui/qgsexpressionbuilderwidget.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ class GUI_EXPORT QgsExpressionBuilderWidget : public QWidget, private Ui::QgsExp
157157
/** Emited when the user changes the expression in the widget.
158158
* Users of this widget should connect to this signal to decide if to let the user
159159
* continue.
160-
* @param isVaild Is true if the expression the user has typed is vaild.
160+
* @param isValid Is true if the expression the user has typed is valid.
161161
*/
162-
void expressionParsed( bool isVaild );
162+
void expressionParsed( bool isValid );
163163

164164
private:
165165
void fillFieldValues( int fieldIndex, int countLimit );

src/providers/grass/qgsgrass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class QgsGrass
218218
static GRASS_LIB_EXPORT QList<QgsGrass::Color> colors( QString gisdbase, QString location,
219219
QString mapset, QString map );
220220

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

src/providers/spatialite/qgsspatialiteprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ QgsSpatiaLiteProvider::QgsSpatiaLiteProvider( QString const &uri )
443443
return;
444444
}
445445
enabledCapabilities = QgsVectorDataProvider::SelectAtId | QgsVectorDataProvider::SelectGeometryAtId;
446-
if (( mTableBased | mViewBased ) && !mReadOnly )
446+
if (( mTableBased || mViewBased ) && !mReadOnly )
447447
{
448448
// enabling editing only for Tables [excluding Views and VirtualShapes]
449449
enabledCapabilities |= QgsVectorDataProvider::DeleteFeatures;

0 commit comments

Comments
 (0)