diff -r 11bd8c7e4118 -r f95f7218531a QTfrontend/mapContainer.cpp --- a/QTfrontend/mapContainer.cpp Wed Dec 15 21:48:54 2010 +0300 +++ b/QTfrontend/mapContainer.cpp Wed Dec 15 22:03:46 2010 +0300 @@ -539,6 +539,12 @@ changeImage(); } +void HWMapContainer::setDrawnMapData(const QByteArray & ar) +{ + drawMapScene.decode(ar); + changeImage(); +} + QByteArray HWMapContainer::getDrawnMapData() { return drawMapScene.encode();