Fix typo in variable name.

Change-Id: I3bd59982605d242c95278bfeb71a6071ec222d08
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
Stephen Kelly 2012-09-25 17:34:27 +02:00 committed by The Qt Project
parent 90e207e4c7
commit 87f25de7c3

View File

@ -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;
}