- Timestamp:
- Jun 16, 2013, 4:46:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5231 r5232 40 40 41 41 #include "map/bncmapwin.h" 42 #include "bncsettings.h" 42 43 #include "bncutils.h" 43 44 … … 88 89 void bncMapWin::loadHtmlPage() { 89 90 90 QFile htmlFile(":/map/map_gm.html"); 91 bncSettings settings; 92 93 QFile htmlFile; 94 if (settings.value("useOsmMap").toBool()) { 95 htmlFile.setFileName(":/map/map_osm.html"); 96 } 97 else { 98 htmlFile.setFileName(":/map/map_gm.html"); 99 } 91 100 if (!htmlFile.open(QFile::ReadOnly)) { 92 101 qDebug() << "bncMapWin:: cannot open html file";
Note:
See TracChangeset
for help on using the changeset viewer.