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

List:       kde-commits
Subject:    kdepim/plugins/kmail/bodypartformatter
From:       Till Adam <adam () kde ! org>
Date:       2004-09-15 16:15:02
Message-ID: 20040915161502.1D5E8126B7 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Make the diff bpf plugin honor the display strategy set by the calling
readerwindow.


  M +3 -0      text_xdiff.cpp   1.4


--- kdepim/plugins/kmail/bodypartformatter/text_xdiff.cpp  #1.3:1.4
@@ -64,4 +64,7 @@ namespace {
       if ( !writer ) return Ok;
 
+      if (  bodyPart->defaultDisplay() == KMail::Interface::BodyPart::AsIcon ) 
+        return AsIcon;
+
       const QString diff = bodyPart->asText();
       if ( diff.isEmpty() ) return AsIcon;


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

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