[PATCH] ContactListView width in KAddressBook

Malte Starostik malte at kde.org
Wed Apr 3 10:47:58 BST 2002


Am Tuesday 02 April 2002 23:20 schrieb Scott Wheeler:
> There was no reply to this on kde-pim, and since this is in kdebase, I
> thought I would give it a try here.  This is pretty simple.  Does it look
> Ok to commit?  I think it should go in both branches.
> ----------  Forwarded Message  ----------
>
> Subject: [PATCH] ContactListView width in KAddressBook
> Date: Sun, 31 Mar 2002 19:24:59 -0500
> From: Scott Wheeler <scott at slackorama.net>
> To: kde-pim at mail.kde.org
>
> Currently restoring the width of the columns of KAddressBook doesn't work
> because setFullWidth( true ) is called in the constructor for
> ContactListView.  This patch fixes that by moving the setFullWidth( true )
> into KAddressBookView::repopulate() after the code that adds the columns
> (and sets the width).
>
> Please CC me on any responses since I'm subscribed to kde-pim.
I don't think it's the correct fix. I also had this problem in kim. Thanks to 
your mail I now found out why it happened :-)
The problem is that the fullWidth property is designable but the 
setFullWidth() change makes it unusable from designer. Any objections against 
the attached patch? It won't fix apps linked against old kdelibs though due 
to the new virtual reimplementation.

-- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klistview.diff
Type: text/x-diff
Size: 1989 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020403/f329bda0/attachment.diff>


More information about the kde-core-devel mailing list