1
0
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:
Teo Mrnjavac
2012-08-05 12:56:08 +02:00
parent bf51ce08dc
commit 1258d8ed79

View File

@@ -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 );