summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/starwidget.cpp
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-11-29 10:57:08 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-30 23:14:46 -0800
commit8ef87e618afd1ec943c0f42a852b3b393c1e2113 (patch)
treec767de27b2a78d3a85575b2c15ddecd7edcca891 /desktop-widgets/starwidget.cpp
parent0855f6f31577789888aa6d9b955c1bc46ed34d40 (diff)
downloadsubsurface-8ef87e618afd1ec943c0f42a852b3b393c1e2113.tar.gz
Use better aliases for icons.
Icon aliases were complete mess. Some icons had alias some didn't. Named with underscores vs. hyphens vs. camelCase. Lower vs. upper case. "ICON" prefix vs. suffix vs. nothing. With vs. without filename suffix. Some didn't make sence. Eg. mapwidget-marker-gray (I can see, it's grey, but what does it represent?) Some were duplicated, eg warning vs. warning-icon. Some were name after widget, which is wrong. Do not reinvent wheel. Use widely used naming scheme close to Freedesktop Icon Naming Specification. This will enable usage of common icons from current set in the future. Thus Subsurface will fit nicely to GUI. This changes icon aliases to one, easy grep-able style. Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
-rw-r--r--desktop-widgets/starwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/starwidget.cpp b/desktop-widgets/starwidget.cpp
index 503b094ad..6f65a33a3 100644
--- a/desktop-widgets/starwidget.cpp
+++ b/desktop-widgets/starwidget.cpp
@@ -99,7 +99,7 @@ StarWidget::StarWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f),
int dim = defaultIconMetrics().sz_small;
if (activeStar.isNull()) {
- QSvgRenderer render(QString(":star"));
+ QSvgRenderer render(QString(":star-icon"));
QPixmap renderedStar(dim, dim);
renderedStar.fill(Qt::transparent);