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 Tomaz Canabrava <tcanabrava@kde.org>2017-11-29 11:46:35 +0100
commitb0d98f6e269be9560de1b9c140855c85fecf1dd1 (patch)
tree34315eef0a562ddff3b7c7ef3d26de24eaef81c1 /desktop-widgets/mainwindow.cpp
parent6437a2e18e9464162395bc0dd5b5f4754efc7d93 (diff)
downloadsubsurface-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.cpp2
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();
}