From b7f023a99be8d24929c18178f78aa0455b3984cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 15 Nov 2024 23:21:38 +0100 Subject: [PATCH] Refactoring --- data/style/style.xml | 6 +++--- gpxsee.qrc | 4 ++-- icons/map/symbols/{water-arrow.svg => flow.svg} | 0 icons/map/symbols/{arrow.svg => oneway.svg} | 0 src/map/IMG/rastertile.cpp | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) rename icons/map/symbols/{water-arrow.svg => flow.svg} (100%) rename icons/map/symbols/{arrow.svg => oneway.svg} (100%) diff --git a/data/style/style.xml b/data/style/style.xml index 52f466cc..e240f8d4 100644 --- a/data/style/style.xml +++ b/data/style/style.xml @@ -93,7 +93,7 @@ - + @@ -106,7 +106,7 @@ - + @@ -293,7 +293,7 @@ - + diff --git a/gpxsee.qrc b/gpxsee.qrc index 40b31c64..e818c8a5 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -6,10 +6,10 @@ - icons/map/symbols/arrow.svg icons/map/symbols/cliff.svg icons/map/symbols/exit.svg - icons/map/symbols/water-arrow.svg + icons/map/symbols/flow.svg + icons/map/symbols/oneway.svg diff --git a/icons/map/symbols/water-arrow.svg b/icons/map/symbols/flow.svg similarity index 100% rename from icons/map/symbols/water-arrow.svg rename to icons/map/symbols/flow.svg diff --git a/icons/map/symbols/arrow.svg b/icons/map/symbols/oneway.svg similarity index 100% rename from icons/map/symbols/arrow.svg rename to icons/map/symbols/oneway.svg diff --git a/src/map/IMG/rastertile.cpp b/src/map/IMG/rastertile.cpp index 52dd76ad..634aaea1 100644 --- a/src/map/IMG/rastertile.cpp +++ b/src/map/IMG/rastertile.cpp @@ -513,8 +513,8 @@ void RasterTile::render() QList textItems; QImage arrows[2]; - arrows[ROAD] = Util::svg2img(":/symbols/arrow.svg", _ratio); - arrows[WATER] = Util::svg2img(":/symbols/water-arrow.svg", _ratio); + arrows[ROAD] = Util::svg2img(":/symbols/oneway.svg", _ratio); + arrows[WATER] = Util::svg2img(":/symbols/flow.svg", _ratio); fetchData(polygons, lines, points); ll2xy(polygons);