<file>res/images/list_small.png</file>
<file>res/images/reload_icon.png</file>
<file>res/images/sendPosition_icon.png</file>
+ <file>res/images/zoom_in.png</file>
+ <file>res/images/zoom_out.png</file>
</qresource>
</RCC>
static const int MAP_ZOOM_PANEL_POSITION_Y = 10; ///< Vertical position of zoom panel
static const int MAP_ZOOM_PANEL_LEVEL = MIN_MAP_SCENE_NORMAL_LEVEL
+ MAX_MAP_ZOOM_LEVEL + 2; ///< Zepth of zoom panel (Z-axis)
-static const int MAP_ZOOM_PANEL_BUTTON_SIZE = 48; ///< Size of a zoom panel button
+static const int MAP_ZOOM_PANEL_BUTTON_SIZE = 74; ///< Size of a zoom panel button
const qreal MAX_LATITUDE = 85.05112877980659237802; ///< Maximum latitude value
const qreal MIN_LATITUDE = -MAX_LATITUDE; ///< Minimum latitude value
QNetworkCacheMetaData metaData = cache->metaData(url);
-<<<<<<< HEAD:src/map/mapfetcher.cpp
- if (metaData.expirationDate().isValid()) {
-=======
if ((metaData.expirationDate().isValid()) && (url.isValid())) {
->>>>>>> master:src/map/mapfetcher.cpp
if (metaData.expirationDate() < QDateTime::currentDateTime()) {
cache->remove(url);
}
}
-<<<<<<< HEAD:src/map/mapfetcher.cpp
- QIODevice *cacheImage = m_manager->cache()->data(url);
-=======
QIODevice *cacheImage = cache->data(url);
->>>>>>> master:src/map/mapfetcher.cpp
if (cacheImage) {
QImage image;
m_width = MAP_ZOOM_PANEL_BUTTON_SIZE;
m_height = MAP_ZOOM_PANEL_BUTTON_SIZE * 2;
- m_zoomInBtn = new MapButton(":/resources/zoom_in.png");
- m_zoomOutBtn = new MapButton(":/resources/zoom_out.png");
+ m_zoomInBtn = new MapButton(":/res/images/zoom_in.png");
+ m_zoomOutBtn = new MapButton(":/res/images/zoom_out.png");
setFlag(QGraphicsItem::ItemIgnoresTransformations);
setZValue(static_cast<qreal>(MAP_ZOOM_PANEL_LEVEL));