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

List:       kde-commits
Subject:    [kdepim] messagelist/core: Minor
From:       Montel Laurent <montel () kde ! org>
Date:       2012-08-03 7:36:08
Message-ID: 20120803073608.23BAFA6094 () git ! kde ! org
[Download RAW message or body]

Git commit 0c396f18750f0fa506c748ab5a0d73f2eb30f3a0 by Montel Laurent.
Committed on 03/08/2012 at 09:36.
Pushed by mlaurent into branch 'master'.

Minor

M  +3    -4    messagelist/core/theme.cpp

http://commits.kde.org/kdepim/0c396f18750f0fa506c748ab5a0d73f2eb30f3a0

diff --git a/messagelist/core/theme.cpp b/messagelist/core/theme.cpp
index 70bc6d0..7dab02e 100644
--- a/messagelist/core/theme.cpp
+++ b/messagelist/core/theme.cpp
@@ -569,9 +569,8 @@ void Theme::Column::save( QDataStream &stream ) const
     row->save( stream );
   }
 
-  stream << (int)mMessageRows.count();
-
   cnt = mMessageRows.count();
+  stream << (int)cnt;
 
   for ( int i = 0; i < cnt ; ++i )
   {
@@ -907,9 +906,9 @@ void Theme::save( QDataStream &stream ) const
   stream << (int)mViewHeaderPolicy;
   stream << mIconSize;
 
-  stream << (int)mColumns.count();
-
   const int cnt = mColumns.count();
+  stream << (int)cnt;
+
 
   for ( int i = 0; i < cnt ; i++ )
   {
[prev in list] [next in list] [prev in thread] [next in thread] 

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