aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-01-10 22:31:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-11 06:40:20 +0700
commita8c0bf3e572dbdf4d3943edead5739138a68432b (patch)
treeca408f04e1cbedf2a6eebe4962a795a861c1d767 /qt-ui
parentab830b1d4fff0c68f9cad37ab8d079277ab5ca33 (diff)
downloadsubsurface-a8c0bf3e572dbdf4d3943edead5739138a68432b.tar.gz
Fix app icon and title for yearly statistics
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 80da754a2..c24e2733e 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -338,6 +338,8 @@ void MainWindow::on_actionYearlyStatistics_triggered()
view->setWindowModality(Qt::NonModal);
view->setMinimumWidth(600);
view->setAttribute(Qt::WA_QuitOnClose, false);
+ view->setWindowTitle(tr("Yearly Statistics"));
+ view->setWindowIcon(QIcon(":subsurface-icon"));
view->show();
}