summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 14:04:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 14:05:07 -0800
commitfd9c905ba357a37fe13338600bbc2b669c867f6f (patch)
tree55134736ff3b361de269a78aa93a1e8fa66dc009 /desktop-widgets/simplewidgets.cpp
parent2747056889c6e003880201998353e28591faab62 (diff)
downloadsubsurface-fd9c905ba357a37fe13338600bbc2b669c867f6f.tar.gz
Revert "Use icons relative path."
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r--desktop-widgets/simplewidgets.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp
index 457589dde..44ab49797 100644
--- a/desktop-widgets/simplewidgets.cpp
+++ b/desktop-widgets/simplewidgets.cpp
@@ -30,13 +30,13 @@ public:
MinMaxAvgWidgetPrivate(MinMaxAvgWidget *owner)
{
avgIco = new QLabel(owner);
- avgIco->setPixmap(QIcon(":average").pixmap(16, 16));
+ avgIco->setPixmap(QIcon(":/average").pixmap(16, 16));
avgIco->setToolTip(QObject::tr("Average"));
minIco = new QLabel(owner);
- minIco->setPixmap(QIcon(":minimum").pixmap(16, 16));
+ minIco->setPixmap(QIcon(":/minimum").pixmap(16, 16));
minIco->setToolTip(QObject::tr("Minimum"));
maxIco = new QLabel(owner);
- maxIco->setPixmap(QIcon(":maximum").pixmap(16, 16));
+ maxIco->setPixmap(QIcon(":/maximum").pixmap(16, 16));
maxIco->setToolTip(QObject::tr("Maximum"));
avgValue = new QLabel(owner);
minValue = new QLabel(owner);