Minor fix : ndex: configuredialog.cpp =================================================================== RCS file: /home/kde/kdenetwork/kmail/configuredialog.cpp,v retrieving revision 1.129 diff -u -u -p -r1.129 configuredialog.cpp --- configuredialog.cpp 2001/07/19 21:54:06     1.129 +++ configuredialog.cpp 2001/07/20 14:08:57 @@ -1500,7 +1500,7 @@ void ConfigureDialog::makeSecurityPage(      page = new QWidget( tabWidget );      tabWidget->addTab( page, i18n("&PGP") );      vlay = new QVBoxLayout( page, spacingHint() ); - +      mSecurity.pgpConfig = new KpgpConfig(page);      vlay->addWidget( mSecurity.pgpConfig );      vlay->addStretch(10); @@ -1539,6 +1539,7 @@ void ConfigureDialog::makeMiscPage( void      new QCheckBox(i18n("&Keep trash size below "), tgroup );    stlay->addWidget( mMisc.keepSmallTrashCheck );    mMisc.smallTrashSizeSpin = new KIntNumInput( tgroup ); +  mMisc.smallTrashSizeSpin->setRange(1, 500, 1, false);    //mFolder.smallTrashSizeSpin->setMinValue(1);    stlay->addWidget( mMisc.smallTrashSizeSpin );    stlay->addWidget( new QLabel( "MB", tgroup ) ); @@ -1552,7 +1553,7 @@ void ConfigureDialog::makeMiscPage( void    rmvlay->addWidget( mMisc.removeOldMailCheck );    mMisc.oldMailAgeSpin = new KIntNumInput( tgroup );    mMisc.oldMailAgeSpin->setValue(1); -  //mFolder.oldMailAgeSpin->setMinValue(1); +  mMisc.oldMailAgeSpin->setRange(1, 500, 1, false);
Minor fix :
ndex: configuredialog.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/configuredialog.cpp,v
retrieving revision 1.129
diff -u -u -p -r1.129 configuredialog.cpp
--- configuredialog.cpp 2001/07/19 21:54:06     1.129
+++ configuredialog.cpp 2001/07/20 14:08:57
@@ -1500,7 +1500,7 @@ void ConfigureDialog::makeSecurityPage(
     page = new QWidget( tabWidget );
     tabWidget->addTab( page, i18n("&PGP") );
     vlay = new QVBoxLayout( page, spacingHint() );
-
+
     mSecurity.pgpConfig = new KpgpConfig(page);
     vlay->addWidget( mSecurity.pgpConfig );
     vlay->addStretch(10);
@@ -1539,6 +1539,7 @@ void ConfigureDialog::makeMiscPage( void
     new QCheckBox(i18n("&Keep trash size below "), tgroup );
   stlay->addWidget( mMisc.keepSmallTrashCheck );
   mMisc.smallTrashSizeSpin = new KIntNumInput( tgroup );
+  mMisc.smallTrashSizeSpin->setRange(1, 500, 1, false);
   //mFolder.smallTrashSizeSpin->setMinValue(1);
   stlay->addWidget( mMisc.smallTrashSizeSpin );
   stlay->addWidget( new QLabel( "MB", tgroup ) );
@@ -1552,7 +1553,7 @@ void ConfigureDialog::makeMiscPage( void
   rmvlay->addWidget( mMisc.removeOldMailCheck );
   mMisc.oldMailAgeSpin = new KIntNumInput( tgroup );
   mMisc.oldMailAgeSpin->setValue(1);
-  //mFolder.oldMailAgeSpin->setMinValue(1);
+  mMisc.oldMailAgeSpin->setRange(1, 500, 1, false);

For me "Keep trash size below" and "in trash, on exit, remove message
older than" should be positive.

svn path=/trunk/kdenetwork/kmail/; revision=106980

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi