Better minimum width for yearly statistics window

The Qt default was way too small.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-06-19 10:59:48 -07:00
parent 138a00bd10
commit 106327af43

View file

@ -245,6 +245,8 @@ void MainWindow::on_actionYearlyStatistics_triggered()
QTreeView *view = new QTreeView();
QAbstractItemModel *model = new YearlyStatisticsModel();
view->setModel(model);
view->setWindowModality(Qt::NonModal);
view->setMinimumWidth(600);
view->show();
}