Commit 6a02accb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: Remove debug messages now.

parent 1ca89091
...@@ -1095,7 +1095,6 @@ FullscreenControllerWidget::~FullscreenControllerWidget() ...@@ -1095,7 +1095,6 @@ FullscreenControllerWidget::~FullscreenControllerWidget()
void FullscreenControllerWidget::showFSC() void FullscreenControllerWidget::showFSC()
{ {
adjustSize(); adjustSize();
msg_Dbg( p_intf, "showFSC() was called" );
#ifdef WIN32TRICK #ifdef WIN32TRICK
// after quiting and going to fs, we need to call show() // after quiting and going to fs, we need to call show()
if( isHidden() ) if( isHidden() )
...@@ -1122,7 +1121,6 @@ void FullscreenControllerWidget::showFSC() ...@@ -1122,7 +1121,6 @@ void FullscreenControllerWidget::showFSC()
*/ */
void FullscreenControllerWidget::hideFSC() void FullscreenControllerWidget::hideFSC()
{ {
msg_Dbg( p_intf, "hideFSC() was called" );
#ifdef WIN32TRICK #ifdef WIN32TRICK
b_fscHidden = true; b_fscHidden = true;
setWindowOpacity( 0.0 ); // simulate hidding setWindowOpacity( 0.0 ); // simulate hidding
...@@ -1168,7 +1166,6 @@ void FullscreenControllerWidget::slowHideFSC() ...@@ -1168,7 +1166,6 @@ void FullscreenControllerWidget::slowHideFSC()
} }
else else
{ {
msg_Dbg( p_intf, "slowHideFSC() was called" );
#ifdef WIN32TRICK #ifdef WIN32TRICK
if ( windowOpacity() > 0.0 && !b_fscHidden ) if ( windowOpacity() > 0.0 && !b_fscHidden )
#else #else
...@@ -1194,8 +1191,6 @@ void FullscreenControllerWidget::customEvent( QEvent *event ) ...@@ -1194,8 +1191,6 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
{ {
bool b_fs; bool b_fs;
msg_Dbg( p_intf, "New FSC event: %i", event->type() );
switch( event->type() ) switch( event->type() )
{ {
case FullscreenControlToggle_Type: case FullscreenControlToggle_Type:
...@@ -1332,8 +1327,6 @@ static int FullscreenControllerWidgetMouseMoved( vlc_object_t *vlc_object, const ...@@ -1332,8 +1327,6 @@ static int FullscreenControllerWidgetMouseMoved( vlc_object_t *vlc_object, const
/* Get the value from the Vout - Trust the vout more than Qt */ /* Get the value from the Vout - Trust the vout more than Qt */
i_mousex = var_GetInteger( p_fs->p_vout, "mouse-x" ); i_mousex = var_GetInteger( p_fs->p_vout, "mouse-x" );
i_mousey = var_GetInteger( p_fs->p_vout, "mouse-y" ); i_mousey = var_GetInteger( p_fs->p_vout, "mouse-y" );
msg_Dbg( p_fs->p_vout, "Qt4: The mouse has moved: %i %i",
i_mousex, i_mousey );
/* First time */ /* First time */
if( p_fs->i_mouse_last_move_x == -1 || p_fs->i_mouse_last_move_y == -1 ) if( p_fs->i_mouse_last_move_x == -1 || p_fs->i_mouse_last_move_y == -1 )
...@@ -1345,11 +1338,9 @@ static int FullscreenControllerWidgetMouseMoved( vlc_object_t *vlc_object, const ...@@ -1345,11 +1338,9 @@ static int FullscreenControllerWidgetMouseMoved( vlc_object_t *vlc_object, const
/* All other times */ /* All other times */
else else
{ {
msg_Dbg( p_fs->p_vout, "%i %i", /* Trigger only if move > 3 px dans une direction */
abs( p_fs->i_mouse_last_move_x - i_mousex ), if( abs( p_fs->i_mouse_last_move_x - i_mousex ) > 2 ||
abs( p_fs->i_mouse_last_move_y - i_mousey ) ); abs( p_fs->i_mouse_last_move_y - i_mousey ) > 2 )
if( abs( p_fs->i_mouse_last_move_x - i_mousex ) > 1 ||
abs( p_fs->i_mouse_last_move_y - i_mousey ) > 1 )
{ {
b_toShow = true; b_toShow = true;
p_fs->i_mouse_last_move_x = i_mousex; p_fs->i_mouse_last_move_x = i_mousex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment