QTfrontend/itemNum.cpp
changeset 1904 20348675b015
parent 1886 0bb8f61e5630
child 2072 6e0fcbcc3f60
--- a/QTfrontend/itemNum.cpp	Wed Mar 18 21:43:46 2009 +0000
+++ b/QTfrontend/itemNum.cpp	Wed Mar 18 22:02:55 2009 +0000
@@ -22,9 +22,8 @@
 #include <QPainter>
 
 ItemNum::ItemNum(const QImage& im, QWidget * parent, unsigned char min, unsigned char max) :
-  m_im(im), QFrame(parent), nonInteractive(false), minItems(min), maxItems(max),
-  numItems(min+2 >= max ? min : min+2),
-  infinityState(false)
+  QFrame(parent), m_im(im), infinityState(false), nonInteractive(false), minItems(min), maxItems(max),
+  numItems(min+2 >= max ? min : min+2)
 {
 }