summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 45b8df80a..ae43ff814 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -16,6 +16,7 @@
#include <QApplication>
#include <QFontMetrics>
#include <QTextBrowser>
+#include <QTableView>
#include "divelistview.h"
#include "starwidget.h"
@@ -240,7 +241,10 @@ void MainWindow::on_actionToggleZoom_triggered()
void MainWindow::on_actionYearlyStatistics_triggered()
{
- qDebug("actionYearlyStatistics");
+ QTableView *view = new QTableView();
+ QAbstractItemModel *model = new YearlyStatisticsModel();
+ view->setModel(model);
+ view->show();
}
/**