Commit 861c5c92 authored by Janet Blackquill's avatar Janet Blackquill 🌈
Browse files

hotfix: remove hasHeaderColors call from ::polish

This no longer exists as the commit removing it was reverted, but another
commit besides that one had used it in the meantime, causing a FTBFS.
parent f0c7bd68
......@@ -395,7 +395,7 @@ namespace Breeze
else if ( qobject_cast<QDialog*> (widget) ) {
widget->setAttribute(Qt::WA_StyledBackground);
if (_toolsAreaManager->hasHeaderColors() && _helper->shouldDrawToolsArea(widget)) {
if (_helper->shouldDrawToolsArea(widget)) {
const QMargins margins = widget->contentsMargins();
widget->setContentsMargins(margins.left(), qMax(margins.top(), 1), margins.right(), margins.bottom());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment