From 106327af43fba3592f9d9038cc3a3f46abf32b7f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 19 Jun 2013 10:59:48 -0700 Subject: Better minimum width for yearly statistics window The Qt default was way too small. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 26f4d864d..06e6b7734 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -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(); } -- cgit v1.2.3-70-g09d2