diff options
| author | Elvis Angelaccio <[email protected]> | 2017-01-21 23:36:40 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-01-21 23:38:16 +0100 |
| commit | c1d9becda259c0df58b1447b69f573b6ef13bfa1 (patch) | |
| tree | 14a857d68a2ddb1b2ced326dd983a98ab2897a8d | |
| parent | 2e8e30026a207d380379fb2be0e4327bf4f455e8 (diff) | |
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
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index d519ff121..f56f5eaf6 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -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); |
