From d1a7eb08cad465c5fc0de53f75aaecf7803f0945 Mon Sep 17 00:00:00 2001 From: alwin Date: Sun, 28 Dec 2003 02:45:07 +0000 Subject: - dir handling for mbox accounts (delete, new, delete all mail) - fixed memory leaks in mbox account class - reduced count of used string constants while using "tr" with context string - mbox displays messages into global status bar - fixed a possible raise condition when deleting a mail directory --- (limited to 'noncore/net/mail/newmaildir.cpp') diff --git a/noncore/net/mail/newmaildir.cpp b/noncore/net/mail/newmaildir.cpp index 3fc66f4..ab0d4e3 100644 --- a/noncore/net/mail/newmaildir.cpp +++ b/noncore/net/mail/newmaildir.cpp @@ -4,9 +4,13 @@ #include #include -Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name) +Newmdirdlg::Newmdirdlg( QWidget* parent, const char* name,bool no_sub) : Newmdirdlgui(parent,name,true),ndir(""),possible_subs(false) { + if (no_sub) { + subdirsPossibleBox->setChecked(false); + subdirsPossibleBox->hide(); + } } Newmdirdlg::~Newmdirdlg() -- cgit v0.9.0.2