diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-02-13 12:19:01 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-02-13 15:51:10 +0000 |
commit | c6de55a0bb7cc6bebb5dd896ee8edf806c571b96 (patch) | |
tree | c24adf18b3a8bcb88cb639cdc1efac6aed2b9209 /examples/widgets | |
parent | 92fc338de073b352b9fc0a2aee49761c25f9d803 (diff) |
Fix typos
Change-Id: Id625efea998f2b4dce9970b903830dc3b3efcd3d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'examples/widgets')
-rw-r--r-- | examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp | 2 | ||||
-rw-r--r-- | examples/widgets/tools/completer/fsmodel.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp b/examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp index e9d5235ddc..4c18fa8251 100644 --- a/examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp +++ b/examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp @@ -117,7 +117,7 @@ QVariant SpreadSheetItem::computeFormula(const QString &formula, const QTableWidget *widget, const QTableWidgetItem *self) { - // check if the s tring is actually a formula or not + // check if the string is actually a formula or not QStringList list = formula.split(' '); if (list.isEmpty() || !widget) return formula; // it is a normal string diff --git a/examples/widgets/tools/completer/fsmodel.h b/examples/widgets/tools/completer/fsmodel.h index a243c48b43..7b2e7b7dab 100644 --- a/examples/widgets/tools/completer/fsmodel.h +++ b/examples/widgets/tools/completer/fsmodel.h @@ -55,7 +55,7 @@ // With a QFileSystemModel, set on a view, you will see "Program Files" in the view // But with this model, you will see "C:\Program Files" in the view. -// We acheive this, by having the data() return the entire file path for +// We achieve this, by having the data() return the entire file path for // the display role. Note that the Qt::EditRole over which the QCompleter // looks for matches is left unchanged //! [0] |