informationpanel: don't change color of scrollarea's viewport

This code was added a long time ago in b1c9b5126d, but the commit
message doesn't explain why. If we remove it nothing seems to change and
we fix the ugly background on the scrollbar when Breeze draws a frame
around dockable panels.

BUG: 366203
FIXED-IN: 16.12.2
REVIEW: 129861
This commit is contained in:
Elvis Angelaccio 2017-01-21 23:36:40 +01:00
parent 2e8e30026a
commit c1d9becda2

View file

@ -142,10 +142,6 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) :
QWidget* viewport = m_metaDataArea->viewport();
viewport->installEventFilter(this);
QPalette palette = viewport->palette();
palette.setColor(viewport->backgroundRole(), QColor(Qt::transparent));
viewport->setPalette(palette);
layout->addWidget(m_preview);
layout->addWidget(m_phononWidget);
layout->addWidget(m_nameLabel);