[vlc-devel] [PATCH 06/11] keystore: add kwallet module
Rémi Denis-Courmont
remi at remlab.net
Thu Jan 7 21:39:03 CET 2016
On Thursday 07 January 2016 22:09:17 Rémi Denis-Courmont wrote:
> On Wednesday 06 January 2016 16:56:26 Thomas Guillem wrote:
> > +static int
> > +Open(vlc_object_t *p_this)
> > +{
> > + /* KWallet and DBus methods need to be run from the QApplication main
> > loop. + * There can be only one QApplication and it's currently used
> > by
> > the qt + * interface.
> > + * TODO: Spawn the Qt thread singleton from here or from the qt
> > interface + * module */
> > + QCoreApplication *p_qApp = QCoreApplication::instance();
>
> I very much doubt that this call is re-entrant/thread-safe.
>
> Also AFAIR, the agreement with KDE people was to use D-Bus, not libKWallet.
FWIW, this probably causes Qt4 applications calling LibVLC to crash also.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list