summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-11-28 08:37:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-30 23:14:46 -0800
commit0855f6f31577789888aa6d9b955c1bc46ed34d40 (patch)
treee1f55758e3982a3dea0a3966536843cbed84afc5 /desktop-widgets/mainwindow.cpp
parent9cc0d04048e0c50e82525fde476345c8f951b0e7 (diff)
downloadsubsurface-0855f6f31577789888aa6d9b955c1bc46ed34d40.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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index aaddb5174..6d4c36dc1 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1108,7 +1108,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();
}