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

List:       kde-commits
Subject:    Re: KDE_3_4_BRANCH: kdepim/kmail
From:       Andreas Gungl <a.gungl () gmx ! de>
Date:       2005-04-09 13:09:21
Message-ID: 200504091509.21578 () gungl-dd ! de
[Download RAW message or body]

Am Samstag, 9. April 2005 11:07 schrieb Marc Mutz:
> On Friday 08 April 2005 20:55, Andreas Gungl wrote:
> > +   if ( ! statusString.compare( QString("Important").upper() ) )
>
> Sorry, but either I completely missed something, or you win the
> obfuscated-Qt contest for this week :)

Marc, feel free to improve the source code.

Some words about the background:
Between KMail 1.7 and 1.8 there has been a change to make the status 
identifiers (and names) consistent all over KMail. Unfortunatly this broke 
with existing filter rules.
My admittedly ugly hack is a workaround to fix the problems people have after 
upgrading to KMail 1.8 - and I tried to avoid changing strings all around in 
the sources so far.

That doesn't mean that there isn't any better solution.

Andreas

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

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