QTfrontend/ui/widget/mapContainer.cpp
changeset 8070 66bc20d089fc
parent 8049 133e22b5c410
child 8092 08960209db8c
child 8377 869f80966a77
--- a/QTfrontend/ui/widget/mapContainer.cpp	Mon Nov 19 23:43:45 2012 +0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Tue Nov 20 00:10:12 2012 +0400
@@ -298,7 +298,7 @@
 
 void HWMapContainer::askForGeneratedPreview()
 {
-    pMap = new HWMap();
+    pMap = new HWMap(this);
     connect(pMap, SIGNAL(ImageReceived(const QImage)), this, SLOT(setImage(const QImage)));
     connect(pMap, SIGNAL(HHLimitReceived(int)), this, SLOT(setHHLimit(int)));
     connect(pMap, SIGNAL(destroyed(QObject *)), this, SLOT(onPreviewMapDestroyed(QObject *)));