summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-09-25 17:34:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 02:29:09 +0200
commit87f25de7c3d3b8bf643d7f318a8a5471eee44411 (patch)
tree4a75b467b954dc16dfb6b3ea348f4e9df9937e1b /src/corelib/itemmodels
parent90e207e4c712b75551f8064edeb245d660c6a406 (diff)
Fix typo in variable name.
Change-Id: I3bd59982605d242c95278bfeb71a6071ec222d08 Reviewed-by: David Faure <faure@kde.org> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/corelib/itemmodels')
-rw-r--r--src/corelib/itemmodels/qsortfilterproxymodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/itemmodels/qsortfilterproxymodel.cpp b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
index f9cacded3f..a0120d068a 100644
--- a/src/corelib/itemmodels/qsortfilterproxymodel.cpp
+++ b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
@@ -457,9 +457,9 @@ bool QSortFilterProxyModelPrivate::update_source_sort_column()
{
Q_Q(QSortFilterProxyModel);
QModelIndex proxy_index = q->index(0, proxy_sort_column, QModelIndex());
- int old_source_sort_colum = source_sort_column;
+ int old_source_sort_column = source_sort_column;
source_sort_column = q->mapToSource(proxy_index).column();
- return old_source_sort_colum != source_sort_column;
+ return old_source_sort_column != source_sort_column;
}