Fix enable/disable spinbox too

svn path=/branches/kdepim/enterprise/kdepim/; revision=954878
wilder-work
Laurent Montel 17 years ago
parent 73949a9f15
commit 62ea37da2b
  1. 3
      configuredialog.cpp

@ -1764,6 +1764,7 @@ AppearancePageColorsTab::AppearancePageColorsTab( QWidget * parent, const char *
mCloseToQuotaThreshold = new QSpinBox( 0, 100, 1, this );
connect( mCloseToQuotaThreshold, SIGNAL( valueChanged( int ) ),
this, SLOT( slotEmitChanged( void ) ) );
mCloseToQuotaThreshold->setEnabled( false );
mCloseToQuotaThreshold->setSuffix( i18n("%"));
hbox->addWidget( mCloseToQuotaThreshold );
hbox->addWidget( new QWidget(this), 2 );
@ -1775,6 +1776,8 @@ AppearancePageColorsTab::AppearancePageColorsTab( QWidget * parent, const char *
mRecycleColorCheck, SLOT(setEnabled(bool)) );
connect( mCustomColorCheck, SIGNAL(toggled(bool)),
l, SLOT(setEnabled(bool)) );
connect( mCustomColorCheck, SIGNAL(toggled(bool)),
mCloseToQuotaThreshold, SLOT(setEnabled(bool)) );
connect( mCustomColorCheck, SIGNAL( stateChanged( int ) ),
this, SLOT( slotEmitChanged( void ) ) );

Loading…
Cancel
Save