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:
parent
138a00bd10
commit
106327af43
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user