From ee6f7d5329658c567882e8e496c65eef8874496e Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 27 Mar 2005 00:21:16 +0000 Subject: compile fix --- (limited to 'kalarmd/alarmdialog.cpp') diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp index d6feedc..c939ae0 100644 --- a/kalarmd/alarmdialog.cpp +++ b/kalarmd/alarmdialog.cpp @@ -103,8 +103,10 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name) mSuspendSpin->setValue(7); // default suspend duration mSuspendSpin->setButtonSymbols( QSpinBox::PlusMinus ); mSuspendSpin->setButtonSymbols( QSpinBox::PlusMinus ); +#if QT_VERSION < 0x030000 mSuspendSpin->upButton ()->setFixedSize( QSize( 48, 30 )); mSuspendSpin->downButton ()->setFixedSize( QSize( 48, 30 )); +#endif mSuspendSpin->setFixedSize( 100,62 ); mSuspendSpin->setButtonSymbols( QSpinBox::PlusMinus ); -- cgit v0.9.0.2