- Timestamp:
- Jun 28, 2013, 2:34:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5269 r5296 126 126 } 127 127 bncSettings settings; 128 int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0; 129 QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(useTrace); 128 //int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0; 129 int mapWinDotSize = settings.value("mapWinDotSize").toInt(); 130 //QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(useTrace); 131 QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(mapWinDotSize); 130 132 _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location)); 131 133 }
Note:
See TracChangeset
for help on using the changeset viewer.