summaryrefslogtreecommitdiffabout
path: root/kmicromail/accountview.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/accountview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/accountview.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp
index 0893733..4ead545 100644
--- a/kmicromail/accountview.cpp
+++ b/kmicromail/accountview.cpp
@@ -15,4 +15,6 @@
#include <qmessagebox.h>
#include <qpopupmenu.h>
+#include <qcheckbox.h>
+#include <qspinbox.h>
using namespace Opie::Core;
@@ -159,5 +161,9 @@ void AccountView::downloadMails(const FolderP&fromFolder,AbstractMail*fromWrappe
return;
}
- fromWrapper->mvcpAllMails(fromFolder,targetFolder,targetMail,sels.moveMails());
+ int maxsize = 0;
+ if ( sels.useSize->isChecked())
+ maxsize = sels.sizeSpinBox->value();
+
+ fromWrapper->mvcpAllMails(fromFolder,targetFolder,targetMail,sels.moveMails(), maxsize);
refreshCurrent();
}