Make dirk happy by enabling sort in the model.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-04-25 20:44:06 -03:00
parent 98027be1c1
commit b20b57b29f
3 changed files with 18 additions and 6 deletions

View file

@ -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();