/**
* @brief converts scene coordinates to latitude and longitude
*
- * @param current zoom level
+ * @param zoomLevel current zoom level
* @param sceneCoordinate that will be converted
*/
QPointF convertSceneCoordinateToLatLon(int zoomLevel, QPoint sceneCoordinate);
/**
* @brief Slot to receive visible area of map scene
*
- * @param visible area of map scene
+ * @param viewSceneRect visible area of map scene
*/
void receiveViewSceneRect(QRect viewSceneRect);
QPixmap crosshairImage(":/res/images/sight.png");
m_ownLocationCrosshair->setPixmap(crosshairImage);
m_ownLocationCrosshair->setFixedSize(crosshairImage.size());
+ m_ownLocationCrosshair->hide();
m_friendsListPanel->stackUnder(friendsListPanelSidebar);
userPanelSidebar->stackUnder(m_friendsListPanel);
void MapViewScreen::setOwnLocationCrosshairVisibility(bool visibility)
{
if (visibility == false) {
-
- if (m_ownLocationCrosshair == 0) {
-
- }
-
m_ownLocationCrosshair->show();
m_drawOwnLocationCrosshair = true;
drawOwnLocationCrosshair(m_viewPortWidth, m_viewPortHeight);