Date:2011-03-22 16:32:06 (13 years 6 days ago)
Author:nielsk
Commit:6bdf7c5f473a009fd999b7dd7457bffd3a8fcf56
Message:show file name instead of generic Point of Interest title in layer menu

Files: mainwidget.cpp (1 diff)

Change Details

mainwidget.cpp
119119    } else if (fileName.endsWith(".osm")) {
120120        AbstractLayer *l = new PoiLayer(m_map);
121121        l->load(fileName);
122        QString t = title.isEmpty() ? "Points Of Interest" : title;
122        QString t = title.isEmpty() ? fileName.section("/", -1) : title;
123123        m_map->addLayer(l, 3, t);
124124    }
125125    showMap();

Archive Download the corresponding diff file

Branches:
master



interactive