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