Commit e0ff545e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Block extended filter to not appear off-screen

For some reasons, only Qt/Win32 is affected.
Close #3612
parent 5bf92312
......@@ -87,12 +87,12 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
CONNECT( closeButton, clicked(), this, close() );
/* Restore geometry or move this dialog on the left pane of the MI */
if( !restoreGeometry(getSettings()->value("EPanel/geometry").toByteArray()))
if( !restoreGeometry( getSettings()->value("EPanel/geometry").toByteArray() ) )
{
resize( QSize( 400, 280 ) );
MainInterface *p_mi = p_intf->p_sys->p_mi;
if( p_mi )
if( p_mi && p_mi->x() > 50 )
move( ( p_mi->x() - frameGeometry().width() - 10 ), p_mi->y() );
else
move ( 450 , 0 );
......
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