summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/mboxwrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp
index 3a0b30a..bc496f7 100644
--- a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp
@@ -248,7 +248,7 @@ void MBOXwrapper::deleteMails(mailmbox_folder*f,QList<RecMail> &target)
int MBOXwrapper::deleteAllMail(const Folder*tfolder)
{
if (!tfolder) return 0;
- QString p = MBOXPath+tfolder->getDisplayName();
+ QString p = MBOXPath+"/"+tfolder->getDisplayName();
int res = 1;
mailfolder*folder = 0;
@@ -291,7 +291,7 @@ int MBOXwrapper::deleteAllMail(const Folder*tfolder)
int MBOXwrapper::deleteMbox(const Folder*tfolder)
{
if (!tfolder) return 0;
- QString p = MBOXPath+tfolder->getDisplayName();
+ QString p = MBOXPath+"/"+tfolder->getDisplayName();
QFile fi(p);
if (!fi.exists()) {
Global::statusMessage(tr("Mailbox doesn't exist."));