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

List:       kde-core-devel
Subject:    Re: [Patch] Fix undeleted "static QFont *_font" in kglobalsettings.cpp
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-12-04 19:16:48
Message-ID: 200812042016.48295.thiago () kde ! org
[Download RAW message or body]


On Thursday 04 December 2008 17:46:47 Matthias Kretz wrote:
> Thiago, do you have any good reason other than the name?

Because we didn't mean it to be placed inside functions. It's called 
K_GLOBAL_STATIC, not K_LOCAL_STATIC.

It works, sure, but we could decide to change it to something else, which may 
not work in a function location.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
        PGP/GPG: 0x6EF45358; fingerprint:
        E067 918B B660 DBD1 105C   966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

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

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