4827623acb
Rearrange the code so that QTableView::setSortingEnabled() is called after setting up the sort filter. This ensures that new entries added to the model always follow the column header's sort order. Task-number: QTBUG-39585 Change-Id: Iaec8aa9342981817a019473ba12bad52cdbdfbb8 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> |
||
---|---|---|
.. | ||
adddialog.cpp | ||
adddialog.h | ||
addressbook.pro | ||
addresswidget.cpp | ||
addresswidget.h | ||
main.cpp | ||
mainwindow.cpp | ||
mainwindow.h | ||
newaddresstab.cpp | ||
newaddresstab.h | ||
tablemodel.cpp | ||
tablemodel.h |