rename map icons

This commit is contained in:
Niels committed 2011-02-18 08:32:27 +01:00
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
View File
@@ -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));