Commit 18d4d20a authored by Daniel Teske's avatar Daniel Teske

Fix detection of Oxygen style

Change-Id: I2a28335285869ce477d2c71532ccb44046a0cfa7
Reviewed-by: default avatarDaniel Teske <>
parent 7bde24aa
......@@ -271,7 +271,7 @@ void ManhattanStyle::polish(QWidget *widget)
// OxygenStyle forces a rounded widget mask on toolbars and dock widgets
if (baseStyle()->inherits("OxygenStyle")) {
if (baseStyle()->inherits("OxygenStyle") || baseStyle()->inherits("Oxygen::Style")) {
if (qobject_cast<QToolBar*>(widget) || qobject_cast<QDockWidget*>(widget)) {
widget->setContentsMargins(0, 0, 0, 0);
Markdown is supported
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