Changeset 62 in flair-src for trunk/tools/FlairGCS/src/Map.cpp


Ignore:
Timestamp:
Aug 22, 2016, 4:33:24 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

correction bug destruction map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/Map.cpp

    r15 r62  
    1919#include <qendian.h>
    2020
     21//todo: merge Map and mapwidget
     22
    2123using namespace QtMobility;
    2224
     
    9092}
    9193
    92 Map::~Map() {}
     94Map::~Map() {
     95  for (int i = 0; i < points.count(); i++) delete points.at(i);
     96  delete mapWidget;
     97
     98  if(geoMap!=0) delete geoMap;
     99}
    93100
    94101bool Map::findServices(void) {
Note: See TracChangeset for help on using the changeset viewer.