diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-25 20:44:06 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-25 20:44:06 -0300 |
commit | b20b57b29fe2efcbafb064670a8ca53b0022eca0 (patch) | |
tree | c5668bfd517563c15a1dae59ca1edd99acdec5ec /qt-ui/mainwindow.h | |
parent | 98027be1c1895013bfc3c4071c5d61d10fb70092 (diff) | |
download | subsurface-b20b57b29fe2efcbafb064670a8ca53b0022eca0.tar.gz |
Make dirk happy by enabling sort in the model.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 43ebde7f5..fdb100c7a 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -9,6 +9,7 @@ #include <QMainWindow> +class QSortFilterProxyModel; class DiveTripModel; namespace Ui @@ -68,6 +69,7 @@ private Q_SLOTS: private: Ui::MainWindow *ui; DiveTripModel *model; + QSortFilterProxyModel *sortModel; QString filter(); bool askSaveChanges(); |