From 651d7debe1effb1288194344cd4ec82377092a5b Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 9 Oct 2021 17:28:50 +0200 Subject: gui: Fix typos in source code comments Pick-to: 5.15 6.2 Change-Id: Ie53e5542a8f93856470982939ecd8ec90b323d69 Reviewed-by: Eirik Aavitsland --- src/gui/itemmodels/qfilesystemmodel.cpp | 2 +- src/gui/itemmodels/qstandarditemmodel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/itemmodels') diff --git a/src/gui/itemmodels/qfilesystemmodel.cpp b/src/gui/itemmodels/qfilesystemmodel.cpp index fd64d51fea..db5a9ea262 100644 --- a/src/gui/itemmodels/qfilesystemmodel.cpp +++ b/src/gui/itemmodels/qfilesystemmodel.cpp @@ -896,7 +896,7 @@ bool QFileSystemModel::setData(const QModelIndex &idx, const QVariant &value, in *After re-naming something we don't want the selection to change* - can't remove rows and later insert - can't quickly remove and insert - - index pointer can't change because treeview doesn't use persistant index's + - index pointer can't change because treeview doesn't use persistent index's - if this get any more complicated think of changing it to just use layoutChanged diff --git a/src/gui/itemmodels/qstandarditemmodel.cpp b/src/gui/itemmodels/qstandarditemmodel.cpp index 675b71c530..ed3ffe0460 100644 --- a/src/gui/itemmodels/qstandarditemmodel.cpp +++ b/src/gui/itemmodels/qstandarditemmodel.cpp @@ -3160,7 +3160,7 @@ QMimeData *QStandardItemModel::mimeData(const QModelIndexList &indexes) const } } - //remove duplicates childrens + //remove duplicates children { QDuplicateTracker seen; while (!stack.isEmpty()) { -- cgit v1.2.3