aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/usermanual.cpp
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-11-29 10:57:08 +0100
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-11-29 11:46:35 +0100
commit92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a (patch)
treeca35a73e433d3c667c7ae805d1776ccdbc5e165a /desktop-widgets/usermanual.cpp
parentb0d98f6e269be9560de1b9c140855c85fecf1dd1 (diff)
downloadsubsurface-92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a.tar.gz
Use consistent aliases for all icons.
Icon aliases were inconsistent mess. Underscores vs. hyphens vs. camelCase. With vs. without filename suffix. Lower vs. upper case. "icon" suffix vs. prefix vs. nothing. Some were duplicated, eg warning vs. warning-icon. Some icons didn't have alias at all. This changes all icon aliases to one, easy grep-able style which complies to Freedesktop Icon Naming Specification (Guidelines). Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'desktop-widgets/usermanual.cpp')
-rw-r--r--desktop-widgets/usermanual.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/usermanual.cpp b/desktop-widgets/usermanual.cpp
index 580dadcfd..69000dd54 100644
--- a/desktop-widgets/usermanual.cpp
+++ b/desktop-widgets/usermanual.cpp
@@ -11,9 +11,9 @@ SearchBar::SearchBar(QWidget *parent): QWidget(parent)
{
ui.setupUi(this);
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
- ui.findNext->setIcon(QIcon(":icons/subsurface/32x32/actions/go-down.png"));
- ui.findPrev->setIcon(QIcon(":icons/subsurface/32x32/actions/go-up.png"));
- ui.findClose->setIcon(QIcon(":icons/subsurface/32x32/actions/window-close.png"));
+ ui.findNext->setIcon(QIcon(":go-down-icon"));
+ ui.findPrev->setIcon(QIcon(":go-up-icon"));
+ ui.findClose->setIcon(QIcon(":window-close-icon"));
#endif
connect(ui.findNext, SIGNAL(pressed()), this, SIGNAL(searchNext()));