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

List:       kde-commits
Subject:    Re: kdebase/kcontrol/kdm
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2002-01-12 11:40:14
[Download RAW message or body]

> 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.
[prev in list] [next in list] [prev in thread] [next in thread] 

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