From 285fa8acbceebf5dc87c5c3befe42a2917a3b844 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Wed, 11 Mar 2020 11:30:51 +0100 Subject: Grammar: replaces 'indexes' by 'indices' Grammar-nazi ran git grep -l 'indexes' | xargs sed -i '' -e 's/indexes/indices/g' to prevent future wincing when reading the source code. Unfortunatly, Qt itself is infected as in QModelIndexList QItemSelection::indexes() const Signed-off-by: Robert C. Helling --- mobile-widgets/qmlmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 4dd8de98c..c0723a240 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -2123,7 +2123,7 @@ void QMLManager::setFilter(const QString filterText, int index) QString f = filterText.trimmed(); FilterData data; if (!f.isEmpty()) { - // This is ugly - the indexes of the mode are hardcoded! + // This is ugly - the indices of the mode are hardcoded! switch(index) { default: case 0: data.mode = FilterData::Mode::FULLTEXT; break; -- cgit v1.2.3-70-g09d2