diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-17 21:05:17 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-17 21:05:17 -0300 |
commit | 87e380c7a28b467705b470323275db3812e0fa90 (patch) | |
tree | a9f1015754e0ca2cb2c575605a430bc998b738e8 /qt-ui/mainwindow.cpp | |
parent | a05ea5a6e8f50213559b096871905f9777059eb4 (diff) | |
download | subsurface-87e380c7a28b467705b470323275db3812e0fa90.tar.gz |
Yearly stats are being displayed.
Yearly stats are being displayed. the code is similar to the GTK one,
but I advise the reader that it's a bit risky ( I got an unreproducible
crash but it seems to be fixed now. ). The selection behavior is *weird*
and I have no idea why, but I'm very sleepy - will try to look at
it again tomorrow.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index ae43ff814..ca6fa4113 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -241,7 +241,7 @@ void MainWindow::on_actionToggleZoom_triggered() void MainWindow::on_actionYearlyStatistics_triggered() { - QTableView *view = new QTableView(); + QTreeView *view = new QTreeView(); QAbstractItemModel *model = new YearlyStatisticsModel(); view->setModel(model); view->show(); |