fix background color

This commit is contained in:
jfmcarreira committed 2015-02-06 21:18:27 +00:00
1 parent a8d79701f9
commit fb4adda644
3 files changed
+8 -1

No files matched your search

+6 -1
View File
@@ -34,7 +34,12 @@ SubWindowHandle::SubWindowHandle( QWidget * parent, UInt category ) :
setParent( parent );
setFocusPolicy( Qt::WheelFocus );
setAttribute( Qt::WA_DeleteOnClose );
setBackgroundRole( QPalette::Light );
setBackgroundRole( QPalette::Background );
QPalette Pal(palette());
// set black background
//Pal.setColor(QPalette::Background, Qt::white);
//setPalette(Pal);
setAutoFillBackground( true );
setWindowIcon( QIcon( ":/images/playuver.png" ) );
// Create a new scroll area inside the sub-window