[Bug 257151] Try to reopen a unread draft mail fails with couldn't restore error msg.

Tobias Koenig tokoe at kde.org
Thu Dec 23 15:43:24 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=257151





--- Comment #5 from Tobias Koenig <tokoe kde org>  2010-12-23 16:43:22 ---
commit 72053ce24face915e6829b64f9838c879072f1a2
branch master
Author: Tobias Koenig <tokoe at kde.org>
Date:   Thu Dec 23 16:44:58 2010 +0100

    Add debug output

    We need some more information why draft recovery fails on maemo,
    so print out the job error.

    CCBUG: 257151

diff --git a/mobile/mail/mainview.cpp b/mobile/mail/mainview.cpp
index 5a2d07c..b745472 100644
--- a/mobile/mail/mainview.cpp
+++ b/mobile/mail/mainview.cpp
@@ -569,7 +569,7 @@ void MainView::composeFetchResult( KJob *job )
 {
   const ItemFetchJob *fetchJob = qobject_cast<ItemFetchJob*>( job );
   if ( job->error() || fetchJob->items().isEmpty() ) {
-    kDebug() << "error!!";
+    kDebug() << "error:" << job->errorText();
     //###: review error string
     KMessageBox::sorry( this,
                         i18n( "Could not restore a draft." ),

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list