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
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);