1
0
mirror of git://projects.qi-hardware.com/nanomap.git synced 2024-11-22 00:37:30 +02:00

rename map icons

This commit is contained in:
Niels 2011-02-18 08:32:27 +01:00
parent 6c5a65bbfa
commit 2cf2695997
18 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 548 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

View File

Before

Width:  |  Height:  |  Size: 437 B

After

Width:  |  Height:  |  Size: 437 B

View File

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

View File

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 477 B

View File

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 453 B

View File

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 342 B

View File

Before

Width:  |  Height:  |  Size: 673 B

After

Width:  |  Height:  |  Size: 673 B

View File

Before

Width:  |  Height:  |  Size: 647 B

After

Width:  |  Height:  |  Size: 647 B

View File

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

View File

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 456 B

View File

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 502 B

View File

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 467 B

View File

Before

Width:  |  Height:  |  Size: 516 B

After

Width:  |  Height:  |  Size: 516 B

View File

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 599 B

View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

View File

@ -93,7 +93,7 @@ void PoiLayer::load(const QString &filename)
foreach (const QString &c, categories) { foreach (const QString &c, categories) {
QString t = tags.value(c, ""); QString t = tags.value(c, "");
if (!t.isEmpty()) { if (!t.isEmpty()) {
QString icon = m_iconPath+"/"+t+".png"; QString icon = m_iconPath+"/"+c+"-"+t+".png";
if (QFile::exists(icon)) { if (QFile::exists(icon)) {
if (!m_iconCache.contains(t)) { if (!m_iconCache.contains(t)) {
m_iconCache.insert(t, new QPixmap(icon)); m_iconCache.insert(t, new QPixmap(icon));