diff -r e58d3bbfc7af -r 7d0a4ecd8210 QTfrontend/itemNum.cpp --- a/QTfrontend/itemNum.cpp Fri Oct 31 20:04:30 2008 +0000 +++ b/QTfrontend/itemNum.cpp Fri Oct 31 20:47:48 2008 +0000 @@ -22,7 +22,7 @@ #include ItemNum::ItemNum(const QImage& im, QWidget * parent, unsigned char min, unsigned char max) : - m_im(im), QWidget(parent), nonInteractive(false), minItems(min), maxItems(max), + m_im(im), QFrame(parent), nonInteractive(false), minItems(min), maxItems(max), numItems(min+2 >= max ? min : min+2), infinityState(false) { @@ -69,7 +69,7 @@ painter.drawImage(target, QImage(":/res/infinity.png")); } else { for(int i=0; i