[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kjots
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2010-06-16 14:54:15
Message-ID: 20100616145415.1CF61AC8D4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1138710 by skelly:

Remove some unneeded unused code.

 M  +0 -8      kjotsedit.cpp  


--- trunk/KDE/kdepim/kjots/kjotsedit.cpp #1138709:1138710
@@ -406,14 +406,6 @@
     if (!item.hasPayload<KMime::Message::Ptr>())
       return;
 
-    KMime::Message::Ptr msg = item.payload<KMime::Message::Ptr>();
-
-    KMime::Content* c =msg->mainBodyPart();
-    c->fromUnicodeString( toPlainText() );
-    msg->assemble();
-
-    item.setPayload( msg );
-
     QAbstractItemModel *model = const_cast<QAbstractItemModel *>(m_selectionModel->model());
 
     document()->setModified( false );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic