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

List:       kmail-devel
Subject:    [Bug 83795] [Patch] Unread and Total not emideately visible when
From:       Till Adam <adam () kde ! org>
Date:       2004-06-29 7:21:40
Message-ID: 20040629072140.20673.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=83795      
adam kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From adam kde org  2004-06-29 09:21 -------
CVS commit by tilladam: 

Resize the headers when adding the total or unread column.

Patch by Kåre Särs <kare.sars ericsson com>  Thanks.

CCMAIL: 83795-done bugs kde org


  M +2 -1      kfoldertree.cpp   1.41


--- kdepim/libkdenetwork/kfoldertree.cpp  #1.40:1.41
 @ -375,4 +375,5  @ void KFolderTree::addUnreadColumn( const
   mUnreadIndex = addColumn( name, width );
   setColumnAlignment( mUnreadIndex, qApp->reverseLayout() ? Qt::AlignLeft : Qt::AlignRight );
+  header()->adjustHeaderSize();
 }
 
 @ -382,4 +383,5  @ void KFolderTree::addTotalColumn( const 
   mTotalIndex = addColumn( name, width );
   setColumnAlignment( mTotalIndex, qApp->reverseLayout() ? Qt::AlignLeft : Qt::AlignRight );
+  header()->adjustHeaderSize();
 }
 
 @ -392,5 +394,4  @ void KFolderTree::removeUnreadColumn()
     mTotalIndex--;
   mUnreadIndex = -1;
-  header()->adjustHeaderSize();
 }
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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