From kde-commits Sat Jan 12 11:40:14 2002 From: Oswald Buddenhagen Date: Sat, 12 Jan 2002 11:40:14 +0000 To: kde-commits Subject: Re: kdebase/kcontrol/kdm X-MARC-Message: https://marc.info/?l=kde-commits&m=101083570802726 > Modified Files: > kdm-font.cpp > Log Message: > - fixed uninitialized variable warning > that can be fixed without such "significant" change. replace the "case 2" with "default" and you're done. > (I will never understand why people use QFont pointers) > because it's more effective? c++ makes many things simple. especially unnecessarily slow/bloated code (not that it would matter much in this case, but in general i'm sure we could make kde twice as fast by eliminating typical unefficiencies hidden by high-level constructs). even if qfont is a qshared, there is still a significant overhead in copying it compared to assigning a pointer. greetings -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Nothing is fool-proof to a sufficiently talented fool.