Skip to content
Snippets Groups Projects
Commit 13e71daf authored by Mathias Paulin's avatar Mathias Paulin :speech_balloon:
Browse files

Remove Qt layout warning

parent f6529255
No related branches found
No related tags found
No related merge requests found
...@@ -8,11 +8,11 @@ namespace Mara { ...@@ -8,11 +8,11 @@ namespace Mara {
RendererControl::RendererControl( QWidget* /*parent*/ ) { RendererControl::RendererControl( QWidget* /*parent*/ ) {
setupUi( this ); setupUi( this );
auto textureSelectorLayout = new QHBoxLayout( this ); auto textureSelectorLayout = new QHBoxLayout();
textureSelectorLayout->addWidget( new QLabel( "Image to display" ) ); textureSelectorLayout->addWidget( new QLabel( "Image to display" ) );
m_textureList = new QComboBox(); m_textureList = new QComboBox();
textureSelectorLayout->addWidget( m_textureList ); textureSelectorLayout->addWidget( m_textureList );
panelLayout->addLayout(textureSelectorLayout); panelLayout->addLayout( textureSelectorLayout );
panelLayout->addStretch(); panelLayout->addStretch();
connect( rendererList, connect( rendererList,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment