[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] 717db17: fix initialization order
From: Frank Osterfeld <frank () kdab ! com>
Date: 2010-12-27 13:15:22
Message-ID: 20101227131522.1930FA6090 () git ! kde ! org
[Download RAW message or body]
commit 717db172074dc3db7b9ac1a2a2a7352f38c534a8
branch master
Author: Frank Osterfeld <frank@kdab.com>
Date: Mon Dec 27 14:16:58 2010 +0100
fix initialization order
diff --git a/messageviewer/objecttreeparser.cpp b/messageviewer/objecttreeparser.cpp
index d9fedad..362c230 100644
--- a/messageviewer/objecttreeparser.cpp
+++ b/messageviewer/objecttreeparser.cpp
@@ -139,6 +139,7 @@ ObjectTreeParser::ObjectTreeParser( const ObjectTreeParser *topLevelParser,
bool includeSignatures,
const AttachmentStrategy * strategy )
: mSource( topLevelParser->mSource ),
+ mNodeHelper( topLevelParser->mNodeHelper ),
mTopLevelContent( topLevelParser->mTopLevelContent ),
mCryptoProtocol( topLevelParser->mCryptoProtocol ),
mShowOnlyOneMimePart( showOnlyOneMimePart ),
@@ -147,8 +148,7 @@ ObjectTreeParser::ObjectTreeParser( const ObjectTreeParser *topLevelParser,
mHasPendingAsyncJobs( false ),
mAllowAsync( topLevelParser->mAllowAsync ),
mShowRawToltecMail( false ),
- mAttachmentStrategy( strategy ),
- mNodeHelper( topLevelParser->mNodeHelper )
+ mAttachmentStrategy( strategy )
{
init();
}
@@ -160,6 +160,7 @@ ObjectTreeParser::ObjectTreeParser( ObjectTreeSourceIf *source,
bool includeSignatures,
const AttachmentStrategy * strategy )
: mSource( source ),
+ mNodeHelper( nodeHelper ),
mTopLevelContent( 0 ),
mCryptoProtocol( protocol ),
mShowOnlyOneMimePart( showOnlyOneMimePart ),
@@ -168,8 +169,7 @@ ObjectTreeParser::ObjectTreeParser( ObjectTreeSourceIf *source,
mHasPendingAsyncJobs( false ),
mAllowAsync( false ),
mShowRawToltecMail( false ),
- mAttachmentStrategy( strategy ),
- mNodeHelper( nodeHelper )
+ mAttachmentStrategy( strategy )
{
init();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic