[vlc-devel] [Patchs] Removed dialogs hand-made singleton
Hugo Beauzee-Luyssen
beauze.h at gmail.com
Wed Dec 23 12:02:40 CET 2009
2009/12/23 Rémi Denis-Courmont <rem at videolan.org>
> Le lundi 21 décembre 2009, Rémi Denis-Courmont a écrit :
> > Le lundi 21 décembre 2009, Hugo Beauzee-Luyssen a écrit :
> > > A new singleton pattern was implemented in almost every dialog
> > > classes. This patch adds a generic singleton implementation, and
> > > use it in every dialog.
> >
> > Making non-static data static looks like a step backward to me. I
> > really don't see the point.
>
> Nevermind, the data was already static. I hope templates are not causing
> problems with QObject and debuggers though.
>
>
>
MOC can't handled templated class, however, as the singleton is inherited,
this won't be a problem here.
About debuggers, I never encountered any issue (though I only tested with
gdb).
--
Hugo Beauzée-Luyssen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091223/49b5efe4/attachment.html>
More information about the vlc-devel
mailing list