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

List:       kde-core-devel
Subject:    Re: [PATCH] Fix deprecated warnings in klistview.cpp
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2004-11-05 9:31:43
Message-ID: 200411051031.43614.l.lunak () suse ! cz
[Download RAW message or body]

On Friday 05 of November 2004 07:26, Ismail Donmez wrote:
> Hi all,
>
> Attached a small patch which replaces KApplication::keyboardModifiers()
> with KApplication::keyboardMouseState() in klistview.cpp to fix deprecated
> warnings.
>
> Can someone please review?

 That doesn't look right, why have you changed it from bit operations to 
comparions? In the first snippet 'if(keybstate != Qt::ControlButton)' will be 
always true because of the first condition.

 PS: Please add -p to your diff flags.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
[prev in list] [next in list] [prev in thread] [next in thread] 

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