QTfrontend/ui/widget/mapContainer.cpp
changeset 14465 3897da404301
parent 14421 96624a6cdb93
child 14671 95b1b9ea505a
equal deleted inserted replaced
14464:35d47e99f5e2 14465:3897da404301
   424                    get_mapgen(),
   424                    get_mapgen(),
   425                    getMazeSize(),
   425                    getMazeSize(),
   426                    getDrawnMapData(),
   426                    getDrawnMapData(),
   427                    m_script,
   427                    m_script,
   428                    m_scriptparam,
   428                    m_scriptparam,
   429 		           m_mapFeatureSize
   429                    m_mapFeatureSize
   430                   );
   430                   );
   431 
   431 
   432     setHHLimit(0);
   432     setHHLimit(0);
   433 
   433 
   434     QPixmap waitImage(m_previewSize);
   434     QPixmap waitImage(m_previewSize);
  1075     intSetFeatureSize(val);
  1075     intSetFeatureSize(val);
  1076     //m_mapFeatureSize = val>>2<<2;
  1076     //m_mapFeatureSize = val>>2<<2;
  1077     //if (qAbs(m_prevMapFeatureSize-m_mapFeatureSize) > 4)
  1077     //if (qAbs(m_prevMapFeatureSize-m_mapFeatureSize) > 4)
  1078     {
  1078     {
  1079         m_prevMapFeatureSize = m_mapFeatureSize;
  1079         m_prevMapFeatureSize = m_mapFeatureSize;
  1080 		if(m_mapInfo.type!= MapModel::HandDrawnMap)
  1080         if(m_mapInfo.type!= MapModel::HandDrawnMap || m_script.length() > 0)
  1081 			updatePreview();
  1081             updatePreview();
  1082     }
  1082     }
  1083 }
  1083 }
  1084 
  1084 
  1085 // unused because I needed the space for the slider
  1085 // unused because I needed the space for the slider
  1086 void HWMapContainer::updateThemeButtonSize()
  1086 void HWMapContainer::updateThemeButtonSize()