summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-14 09:17:00 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-14 09:17:00 (GMT)
commit4ee954db7f99ba7021b4b825852fe56c3bcb022c (patch)
treedde3cbb3b4055c5ab7a6b4553205382c7646171f /tests/auto/qtableview
parent19030e2af098e319e3c3f3883c51e28364bf3ccf (diff)
downloadQt-4ee954db7f99ba7021b4b825852fe56c3bcb022c.zip
Qt-4ee954db7f99ba7021b4b825852fe56c3bcb022c.tar.gz
Qt-4ee954db7f99ba7021b4b825852fe56c3bcb022c.tar.bz2
Compile the QTableView test on Mac
Reviewed-by: Gabriel
Diffstat (limited to 'tests/auto/qtableview')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index 5b11823..78a0dfd 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -3783,7 +3783,7 @@ void tst_QTableView::task234926_setHeaderSorting()
QStringList sortedDataA = data;
QStringList sortedDataD = data;
qSort(sortedDataA);
- qSort(sortedDataD.begin(), sortedDataD.end(), qGreater<const QString &>());
+ qSort(sortedDataD.begin(), sortedDataD.end(), qGreater<QString>());
model.setStringList(data);
QTableView view;
view.setModel(&model);