mirror of
git://projects.qi-hardware.com/nanomap.git
synced 2025-04-21 12:27:27 +03:00
rename map icons
This commit is contained in:
1 parent
6c5a65bbfa
commit
2cf2695997
18 files changed
+1
-1
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -93,7 +93,7 @@ void PoiLayer::load(const QString &filename)
|
||||
foreach (const QString &c, categories) {
|
||||
QString t = tags.value(c, "");
|
||||
if (!t.isEmpty()) {
|
||||
QString icon = m_iconPath+"/"+t+".png";
|
||||
QString icon = m_iconPath+"/"+c+"-"+t+".png";
|
||||
if (QFile::exists(icon)) {
|
||||
if (!m_iconCache.contains(t)) {
|
||||
m_iconCache.insert(t, new QPixmap(icon));
|
||||
|
||||
Reference in new issue
Block a user