[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/soc-pim/kdepim/messageviewer
From: Stephen Kelly <steveire () gmail ! com>
Date: 2010-07-05 22:18:34
Message-ID: 20100705221834.223B1AC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1146398 by skelly:
Check for null pointer.
M +2 -2 headertheme.cpp
--- branches/work/soc-pim/kdepim/messageviewer/headertheme.cpp #1146397:1146398
@@ -252,8 +252,8 @@
if ( !vCardName().isEmpty() )
data.insert( QLatin1String( "vCardName" ) , vCardName() );
- //if ( showHeader( "organization" ) && message->headerByType("Organization"))
- data.insert( QLatin1String( "organization" ) , \
strToHtml(message->headerByType("Organization")->asUnicodeString()) ); + if ( \
KMime::Headers::Base *org = message->headerByType("Organization") ) + \
data.insert( QLatin1String( "organization" ) , strToHtml(org->asUnicodeString()) ); \
//}
// to line
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic