List Info

Thread: auto-completing URLs on Ctrl-Enter




auto-completing URLs on Ctrl-Enter
user name
2006-02-03 16:39:47
On Friday 03 February 2006 17:23, Leo Savernik wrote:
> Am Freitag, 3. Februar 2006 09:35 schrieb Thiago
Macieira:
> > Do it like this:
> >   static const QStringList suffixes =
getExtraURLSuffixes();
> 
> Half OT:
> I remember that static initialisers were not allowed
formerly (explanations 
> ran always like "leading to crashes when
dlopening" or the similary). Why 
> isn't it an issue any more?

It's still an issue for class-static or file-static members,
since the order of initialization for those is undefined. 

But here it's about method-static, which is fine since we
know it will only
be initialized when calling the method for the first time.

-- 
David Faure, faurekde.org, sponsored by Trolltech to work on
KDE,
Konqueror (http://www.konqueror.org
), and KOffice (http://www.koffice.org).

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )