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

List:       kde-commits
Subject:    branches/work/akonadi-ports/kdepim/kmail
From:       Laurent Montel <montel () kde ! org>
Date:       2009-11-24 18:03:49
Message-ID: 1259085829.743671.5368.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1053731 by mlaurent:

Readd code from trunk


 M  +11 -3     templateparser.cpp  


--- branches/work/akonadi-ports/kdepim/kmail/templateparser.cpp #1053730:1053731
@@ -850,7 +850,11 @@
         kDebug() << "Command: CLEAR";
         i += strlen( "CLEAR" );
         body = "";
-
+#if 0
+        mMsg->setCursorPos( 0 );
+#else
+  kDebug() << "AKONADI PORT: Disabled code in  " << Q_FUNC_INFO;
+#endif
       } else if ( cmd.startsWith( QLatin1String("DEBUGOFF") ) ) {
         // turn off debug
         kDebug() << "Command: DEBUGOFF";
@@ -867,7 +871,11 @@
         // turn on debug
         kDebug() << "Command: CURSOR";
         i += strlen( "CURSOR" );
-
+#if 0
+        mMsg->setCursorPos( body.length() );
+#else
+  kDebug() << "AKONADI PORT: Disabled code in  " << Q_FUNC_INFO;
+#endif
       } else if ( cmd.startsWith( QLatin1String( "SIGNATURE" ) ) ) {
         kDebug() << "Command: SIGNATURE";
         i += strlen( "SIGNATURE" );
@@ -921,7 +929,7 @@
   // FIXME
   // No selection text, therefore we need to parse the object tree ourselves to get
   //KMime::Content *root = parsedObjectTree();
-  
+
   // ### temporary hack to uncrash reply/forward
   mOrigRoot = new KMime::Content;
   mOrigRoot->setContent( mOrigMsg->encodedContent() );
[prev in list] [next in list] [prev in thread] [next in thread] 

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