mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ void MainWindow::on_actionYearlyStatistics_triggered()
|
||||||
QTreeView *view = new QTreeView();
|
QTreeView *view = new QTreeView();
|
||||||
QAbstractItemModel *model = new YearlyStatisticsModel();
|
QAbstractItemModel *model = new YearlyStatisticsModel();
|
||||||
view->setModel(model);
|
view->setModel(model);
|
||||||
|
view->setWindowModality(Qt::NonModal);
|
||||||
|
view->setMinimumWidth(600);
|
||||||
view->show();
|
view->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue