QTfrontend/hedgehogerWidget.cpp
changeset 4412 c9a78ba03679
parent 3871 c91aefe1dca2
child 4976 088d40d8aba2
equal deleted inserted replaced
4411:79fbc444584c 4412:c9a78ba03679
    18 
    18 
    19 #include "hedgehogerWidget.h"
    19 #include "hedgehogerWidget.h"
    20 
    20 
    21 #include "frameTeam.h"
    21 #include "frameTeam.h"
    22 
    22 
    23 CHedgehogerWidget::CHedgehogerWidget(const QImage& im, QWidget * parent) :
    23 CHedgehogerWidget::CHedgehogerWidget(const QImage& im, const QImage& img, QWidget * parent) :
    24     ItemNum(im, parent, 1)
    24     ItemNum(im, img, parent, 1)
    25 {
    25 {
    26   // TODO: maxHedgehogsPerGame doesn't reset properly and won't match map limits for now
    26   // TODO: maxHedgehogsPerGame doesn't reset properly and won't match map limits for now
    27   /*if(parent) {
    27   /*if(parent) {
    28     pOurFrameTeams = dynamic_cast<FrameTeams*>(parent->parentWidget());
    28     pOurFrameTeams = dynamic_cast<FrameTeams*>(parent->parentWidget());
    29   }
    29   }