--- as_amount.h 2002/11/28 20:44:36 1.2
+++ as_amount.h 2002/12/04 14:50:08 1.3
@@ -38,7 +38,7 @@
class AmountBox : public QSpinBox
{
public:
- AmountBox(int nMinval, int nMaxval, int nStep = 1, QWidget *pParent = 0, const char *szName = 0) : QSpinBox(nMinval, nMaxval, nStep, pParent, szName) {};
+ AmountBox(int nMinval, int nMaxval, int nStep = 1, QWidget *pParent = 0, const char *szName = 0) : QSpinBox(nMinval, nMaxval, nStep, pParent, szName) {setValue(0);};
void setText(const QString &); // Sets a text formatted representation
QString text(void) const; // Return a text formatted representation
};
|