mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
Avoid crash.
This commit is contained in:
@@ -54,6 +54,7 @@ DelegateConfigWrapper::DelegateConfigWrapper( QWidget* conf, QWidget* aboutWidge
|
||||
|
||||
QHBoxLayout* h = new QHBoxLayout( this );
|
||||
h->addWidget( m_buttons );
|
||||
if( m_widget && m_widget->layout() )
|
||||
h->setContentsMargins( m_widget->layout()->contentsMargins() );
|
||||
v->addLayout( h );
|
||||
|
||||
|
Reference in New Issue
Block a user