[vlc-devel] commit: VLC pointer variable callback -> Qt4 signal class ( Rémi Denis-Courmont )

Rémi Denis-Courmont rem at videolan.org
Tue Mar 10 16:51:17 CET 2009


Le mardi 10 mars 2009 17:11:12 Dominique Leuenberger, vous avez écrit :
> Quoting Rémi Denis-Courmont <remi at remlab.net>:
> >> [...]
> >>
> >>> +int QVLCVariable::callback (vlc_object_t *object, const char *,
> >>> +                            vlc_value_t, vlc_value_t cur, void *data)
> >>> +{
> >>> +    QVLCVariable *self = (QVLCVariable *)data;
> >>> +    emit self->pointerChanged (object, cur.p_address);
> >>> +}
> >>
> >> That's the commit referred to in my previous post. Just as reference.
> >
> > I think you're mistaken.
>
> Not me, but the compiler if you do not agree:
>
> dialogs/external.cpp: In static member function 'static int
> QVLCVariable::callback(vlc_object_t*, const char*, vlc_value_t,
> vlc_value_t, void*)
> ':
> dialogs/external.cpp:57: warning: control reaches end of non-void function

I don't see how this correlates to the Qt4 version problem.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list