Commit 6849f42a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

kstyle: Port away from WId-based KWindowEffects API

The WId-based API is deprecated in favor of QWindow-based API.
parent 0a63f481
......@@ -80,7 +80,8 @@ namespace Breeze
if (!(widget->testAttribute(Qt::WA_WState_Created) || widget->internalWinId()))
KWindowEffects::enableBlurBehind(widget->winId(), true);
widget->winId(); // force creation of the window handle
KWindowEffects::enableBlurBehind(widget->windowHandle(), true);
// force update
if (widget->isVisible()) {
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