i have a widget that has 15 arrays of pointers to QLabels that is supposed to act as a terrain map for a simple game. each QLabel acts a as a space a player can occupy and the map is 15 x 15

mapWidget.h
Qt Code:
  1. class mapWidget: public QWidget
  2. {
  3.  
  4. public:
  5. mapWidget(QWidget * parent=0);
  6. private:
  7. QGridLayout * mapLayout;
  8. QLabel * x0[15];
  9. QLabel * x1[15];
  10. QLabel * x2[15];
  11. QLabel * x3[15];
  12. QLabel * x4[15];
  13. QLabel * x5[15];
  14. QLabel * x6[15];
  15. QLabel * x7[15];
  16. QLabel * x8[15];
  17. QLabel * x9[15];
  18. QLabel * x10[15];
  19. QLabel * x11[15];
  20. QLabel * x12[15];
  21. QLabel * x13[15];
  22. QLabel * x14[15];
  23. void releaseSpace(int xLoc, int yLoc);
  24. void occpuySpace(int xLoc, int yLoc);
  25. };
To copy to clipboard, switch view to plain text mode 
i am adding it as a child widget to another widget frmCombat, which contains the combat options a user can have. mapWidget and frmCombat's constructors run with out errors and mapWidget is added to frmCombat.
Qt Code:
  1. frmCombat::frmCombat(QWidget *parent) :QWidget(parent)
  2. {
  3. this->mainLayout = new QGridLayout(this);
  4. mainLayout->setSpacing(0);
  5. this->map = new mapWidget(this);
  6. //add map widget to frmCombat
  7. this->mainLayout->addWidget(map);
  8. }
To copy to clipboard, switch view to plain text mode 
however when i go and display frmCombat Mac OSX gives me a EXC_BAD_ACCESS error. is it because i am putting the QLabels in a array instead of individual QLabels?
using:
Mac OSX 10.5.8
QT 4.6
QTCreator 1.3.1