mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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:
parent
2e8e30026a
commit
c1d9becda2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue