diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-11-28 08:37:01 +0100 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2017-11-29 11:46:35 +0100 |
commit | b0d98f6e269be9560de1b9c140855c85fecf1dd1 (patch) | |
tree | 34315eef0a562ddff3b7c7ef3d26de24eaef81c1 /desktop-widgets/mainwindow.cpp | |
parent | 6437a2e18e9464162395bc0dd5b5f4754efc7d93 (diff) | |
download | subsurface-b0d98f6e269be9560de1b9c140855c85fecf1dd1.tar.gz |
Use icons relative path.
Icon paths are defined in one place only - application's embedded resources.
Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 71babd03a..550372ec6 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1105,7 +1105,7 @@ void MainWindow::on_actionYearlyStatistics_triggered() d.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint | Qt::WindowTitleHint); d.setWindowTitle(tr("Yearly statistics")); - d.setWindowIcon(QIcon(":/subsurface-icon")); + d.setWindowIcon(QIcon(":subsurface-icon")); d.exec(); } |