summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-04-25 20:44:06 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-04-25 20:44:06 -0300
commitb20b57b29fe2efcbafb064670a8ca53b0022eca0 (patch)
treec5668bfd517563c15a1dae59ca1edd99acdec5ec /qt-ui/mainwindow.h
parent98027be1c1895013bfc3c4071c5d61d10fb70092 (diff)
downloadsubsurface-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.h2
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();