summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.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/simplewidgets.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/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 44ab49797..457589dde 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);