Minor fixes into layout management

This commit is contained in:
jfmcarreira committed 2015-04-12 13:22:13 +01:00
1 parent 045ad923e7
commit 27c135d003
2 files changed
+31 -6

No files matched your search

+3 -1
View File
@@ -61,8 +61,10 @@ SubWindowAbstract::~SubWindowAbstract()
Void SubWindowAbstract::setWidget( QWidget* widget )
{
if( !m_pcLayout )
{
m_pcLayout = new QHBoxLayout( this );
m_pcLayout->setContentsMargins( 0, 0, 0, 0 );
}
m_pcLayout->addWidget( widget );
}