X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fmain_interface.cpp;h=1c2948856de76626fa29c35bebbfd91e0432dea8;hb=7df364001e2b4cf53e7e9ca223b9c91b319fafeb;hp=47be4735bf9ed2d1fdd148f9befce00e0495d769;hpb=0dbc7d410982aae19d912b414f46ef79fb4175f1;p=vlc diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 47be4735bf..1c2948856d 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -228,7 +228,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) /************ * Callbacks ************/ - var_AddCallback( p_intf->p_libvlc, "intf-show", IntfShowCB, p_intf ); + var_AddCallback( p_intf->p_libvlc, "intf-toggle-fscontrol", IntfShowCB, p_intf ); var_AddCallback( p_intf->p_libvlc, "intf-boss", IntfBossCB, p_intf ); /* Register callback for the intf-popupmenu variable */ @@ -315,7 +315,7 @@ MainInterface::~MainInterface() /* Unregister callbacks */ var_DelCallback( p_intf->p_libvlc, "intf-boss", IntfBossCB, p_intf ); - var_DelCallback( p_intf->p_libvlc, "intf-show", IntfShowCB, p_intf ); + var_DelCallback( p_intf->p_libvlc, "intf-toggle-fscontrol", IntfShowCB, p_intf ); var_DelCallback( p_intf->p_libvlc, "intf-popupmenu", PopupMenuCB, p_intf ); p_intf->p_sys->p_mi = NULL; @@ -1321,7 +1321,7 @@ static int PopupMenuCB( vlc_object_t *p_this, const char *psz_variable, } /***************************************************************************** - * IntfShowCB: callback triggered by the intf-show libvlc variable. + * IntfShowCB: callback triggered by the intf-toggle-fscontrol libvlc variable. *****************************************************************************/ static int IntfShowCB( vlc_object_t *p_this, const char *psz_variable, vlc_value_t old_val, vlc_value_t new_val, void *param )