-rw-r--r-- | kmicromail/accountview.cpp | 8 |
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 | |||
@@ -14,6 +14,8 @@ | |||
14 | /* QT */ | 14 | /* QT */ |
15 | #include <qmessagebox.h> | 15 | #include <qmessagebox.h> |
16 | #include <qpopupmenu.h> | 16 | #include <qpopupmenu.h> |
17 | #include <qcheckbox.h> | ||
18 | #include <qspinbox.h> | ||
17 | 19 | ||
18 | using namespace Opie::Core; | 20 | using namespace Opie::Core; |
19 | AccountView::AccountView( QWidget *parent, const char *name, WFlags flags ) | 21 | AccountView::AccountView( QWidget *parent, const char *name, WFlags flags ) |
@@ -158,7 +160,11 @@ void AccountView::downloadMails(const FolderP&fromFolder,AbstractMail*fromWrappe | |||
158 | tr("<center>Error while creating<br>new folder - breaking.</center>")); | 160 | tr("<center>Error while creating<br>new folder - breaking.</center>")); |
159 | return; | 161 | return; |
160 | } | 162 | } |
161 | fromWrapper->mvcpAllMails(fromFolder,targetFolder,targetMail,sels.moveMails()); | 163 | int maxsize = 0; |
164 | if ( sels.useSize->isChecked()) | ||
165 | maxsize = sels.sizeSpinBox->value(); | ||
166 | |||
167 | fromWrapper->mvcpAllMails(fromFolder,targetFolder,targetMail,sels.moveMails(), maxsize); | ||
162 | refreshCurrent(); | 168 | refreshCurrent(); |
163 | } | 169 | } |
164 | 170 | ||