Skip to content

Commit 554324c

Browse files
authored
Don't override background color in OMShell (OpenModelica#14173)
Fixes OpenModelica#14170
1 parent d7402b9 commit 554324c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

OMShell/OMShell/OMShellGUI/oms.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,6 @@ OMS::OMS( QWidget* parent )
223223
QSizePolicy::Expanding, QSizePolicy::Expanding ));
224224
setCentralWidget( mainFrame_ );
225225

226-
// set frame backgroundcolor
227-
QPalette palette;
228-
palette.setColor( QPalette::Base, QColor(255,255,255) );
229-
mainFrame_->setPalette( palette );
230-
231226
layout_ = new QVBoxLayout( mainFrame_ );
232227
layout_->setContentsMargins(0, 0, 0, 0);
233228
layout_->setSpacing( 5 );

0 commit comments

Comments
 (0)