[Patch] Fix undeleted "static QFont *_font" in kglobalsettings.cpp
Friedrich W. H. Kossebau
kossebau at kde.org
Thu Dec 4 20:37:20 GMT 2008
Am Donnerstag, 4. Dezember 2008, um 17:46 Uhr, schrieb Matthias Kretz:
> On Thursday 04 December 2008 16:59:19 Friedrich W. H. Kossebau wrote:
> > And it seems to have worked for KGlobalSettings* KGlobalSettings::self()
> > in KDE 4.{0,1}.
> >
> > If there is a reason it should be added to the APIDOX, please.
>
> It's in the name: _global_ static. Seeing K_GLOBAL_STATIC in a function
> local context always looks like a contradiction to me. :)
Who cares for the name, if it compiles and runs ;)
Especially as it seems KStaticDeleter was just substituted with the first
similar construct on the 3->4 port. Not by me, I am innocent here ;)
Friedrich
--
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
More information about the kde-core-devel
mailing list