QTfrontend/ui/widget/mapContainer.h
changeset 9739 c2c9dd2544b8
parent 9735 6312152d92ad
child 9744 1ee4842a9c86
--- a/QTfrontend/ui/widget/mapContainer.h	Mon Dec 02 23:20:07 2013 +0400
+++ b/QTfrontend/ui/widget/mapContainer.h	Mon Dec 02 20:25:15 2013 +0100
@@ -111,7 +111,7 @@
 
     protected:
         virtual void resizeEvent ( QResizeEvent * event );
-        virtual void paintEvent ( QPaintEvent * event );
+        virtual void showEvent ( QShowEvent * event );
 
     private:
         QVBoxLayout mainLayout;
@@ -150,7 +150,7 @@
         QPushButton * btnSeed;
         bool m_master;
         QList<QWidget *> m_childWidgets;
-        bool m_previewDirty;
+        bool m_previewEnabled;
 
         void intSetSeed(const QString & seed);
         void intSetMap(const QString & map);