QTfrontend/ui/widget/mapContainer.cpp
branchflibqtfrontend
changeset 8130 4cab13c82b4e
parent 8092 08960209db8c
equal deleted inserted replaced
8128:ebef2de30c18 8130:4cab13c82b4e
    42     mainLayout(this),
    42     mainLayout(this),
    43     pMap(0),
    43     pMap(0),
    44     mapgen(MAPGEN_REGULAR),
    44     mapgen(MAPGEN_REGULAR),
    45     m_previewSize(256, 128)
    45     m_previewSize(256, 128)
    46 {
    46 {
       
    47     m_mapInfo.type = MapModel::GeneratedMap;
    47     hhSmall.load(":/res/hh_small.png");
    48     hhSmall.load(":/res/hh_small.png");
    48     hhLimit = 18;
    49     hhLimit = 18;
    49     templateFilter = 0;
    50     templateFilter = 0;
    50 
    51 
    51     linearGrad = QLinearGradient(QPoint(128, 0), QPoint(128, 128));
    52     linearGrad = QLinearGradient(QPoint(128, 0), QPoint(128, 128));