diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-11-29 10:57:08 +0100 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2017-11-29 11:46:35 +0100 |
commit | 92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a (patch) | |
tree | ca35a73e433d3c667c7ae805d1776ccdbc5e165a /desktop-widgets/locationinformation.cpp | |
parent | b0d98f6e269be9560de1b9c140855c85fecf1dd1 (diff) | |
download | subsurface-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/locationinformation.cpp')
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 454c4c68f..5212b0bf9 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -376,8 +376,8 @@ void DiveLocationModel::resetModel() QVariant DiveLocationModel::data(const QModelIndex &index, int role) const { - static const QIcon plusIcon(":plus"); - static const QIcon geoCode(":geocode"); + static const QIcon plusIcon(":list-add-icon"); + static const QIcon geoCode(":geotag-icon"); if (index.row() <= 1) { // two special cases. if (index.column() == UUID) { |