[vlc-devel] [PATCH 2/2] BROKEN HACK: Qt: make it compile
Francois Cartegnie
fcvlcdev at free.fr
Wed Jul 4 20:38:52 CEST 2012
Le 04/07/2012 20:28, Rémi Denis-Courmont a écrit :
> - PrefsItemData *data = item->data( 0, Qt::UserRole ).value<PrefsItemData*>();
> + PrefsItemData *data = (PrefsItemData *)item->data( 0, Qt::UserRole ).value<void *>();
Any clue why we don't/didn't used qobject_cast<>() here ?
Also points out a missing Q_OBJECT macro for PrefsItemData.
Francois
More information about the vlc-devel
mailing list