From: brezhoneg1 Date: Mon, 16 Mar 2009 00:15:37 +0000 (+0100) Subject: Actually, the patch corrects three problems (2 pertaining to qt4 as a X-Git-Tag: 1.0.0-pre1~68 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ef65c9987986aac9563131c9cb74930ed067102f;p=vlc Actually, the patch corrects three problems (2 pertaining to qt4 as a dialog provider for skins and 1 as the regular qt4). The problems for skins are real (lead to crashes when using menus). The one for regular qt4 was obviously a typo, but sometimes even removing a typo may have side effects. If so, please find attached a patch that reverts this part of the previous patch. Erwan10 Signed-off-by: Ilkka Ollakka --- diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index 13149bd6a7..312dce101a 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -942,7 +942,7 @@ void MainInputManager::customEvent( QEvent *event ) vlc_mutex_lock( &p_intf->change_lock ); if( p_input && ( p_input->b_dead || !vlc_object_alive (p_input) ) ) { - emit inputChanged( NULL ); + emit inputChanged( p_input ); var_DelCallback( p_input, "state", PLItemChanged, this ); vlc_object_release( p_input ); p_input = NULL;