merged with use_last_location
[situare] / src / map / mapengine.h
index 5555972..e80061a 100644 (file)
@@ -60,6 +60,12 @@ public:
     */
     MapEngine(QObject *parent = 0);
 
+    /**
+    * @brief Destructor
+    * Saves view of the map to settings file
+    */
+    ~MapEngine();
+
 /*******************************************************************************
  * MEMBER FUNCTIONS AND SLOTS
  ******************************************************************************/
@@ -258,7 +264,7 @@ private slots:
     * @param y Tile y index
     * @param image Received pixmap
     */
-    void mapImageReceived(int zoomLevel, int x, int y, const QPixmap &image);
+    void mapImageReceived(int zoomLevel, int x, int y, const QPixmap &image);    
 
     /**
     * @brief Slot for actions after view zoom is finished