Remove a lot of non-necessary boilerplate code.

We used to have a very sad way of controlling the statistics,
now we will create the model when there's a need for it.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-08-25 15:46:08 -03:00 committed by Dirk Hohndel
parent 537b42e3f7
commit 2fe1dfe83a
4 changed files with 23 additions and 38 deletions

View file

@ -169,8 +169,6 @@ private:
QAction *actionNextDive;
QAction *actionPreviousDive;
UserManual *helpView;
QTreeView *yearlyStats;
QAbstractItemModel *yearlyStatsModel;
CurrentState state;
QString filter();
static MainWindow *m_Instance;