diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-11-28 08:37:01 +0100 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2017-11-29 11:46:35 +0100 |
commit | b0d98f6e269be9560de1b9c140855c85fecf1dd1 (patch) | |
tree | 34315eef0a562ddff3b7c7ef3d26de24eaef81c1 /desktop-widgets/simplewidgets.cpp | |
parent | 6437a2e18e9464162395bc0dd5b5f4754efc7d93 (diff) | |
download | subsurface-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.cpp | 6 |
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); |