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

List:       kde-pim
Subject:    Re: [Kde-pim] Contacts irractic behaviour
From:       Lutz Rogowski <Lutz () Rogowski ! info>
Date:       2005-03-31 1:59:41
Message-ID: 424B598D.4030606 () Rogowski ! info
[Download RAW message or body]

Reinhold Kainhofer wrote:
> Am Donnerstag, 31. März 2005 01:46 schrieb Dave Smith:
> 
>>>I can perfectly reproduce it here.
>>
>>What are you reproducing? The problem or what should be the normal
>>behaviour?
> 
> 
> The problem.
> 
> Reinhold
> 

It seems to be a good idea to initialize some variables before using them ...

In cardview.cpp in CardViewPrivate the mResizeAnchor is not initialized.

I have there

public:
     CardViewPrivate()
      : mSelectionMode( CardView::Multi ),
        mDrawCardBorder( true ),
        mDrawFieldLabels( true ),
        mDrawSeparators( true),
        mSepWidth( 2 ),
        mShowEmptyFields( false ),
        mLayoutDirty( true ),
        mLastClickOnItem( false ),
        mItemMargin( 0 ),
        mItemSpacing( 10 ),
        mItemWidth( 200 ),
        mMaxFieldLines( INT_MAX ),
        mCurrentItem( 0L ),
        mLastClickPos( QPoint(0, 0) ),
        mResizeAnchor(0), //         <-----------that is added
        mRubberBandAnchor( 0 ),
        mCompText( QString::null )
     {};

Reinhold, can you test if this fixes your problem?

I currently do not have a KDE KDEPIM HEAD compiled to test with ...

Tobias, can you fix this in HEAD and in 3.4 ? Thanks!

Lutz
-- 
Lutz@Rogowski.info
Phone / Fax: +49 700 ROGOWSKI
Mobile Phone: +49 17 ROGOWSKI

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

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

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