Commit fd5f08a3 authored by ivan tkachenko's avatar ivan tkachenko Committed by Tomaz Canabrava
Browse files

Fix deprecation warning about KWindowEffects::enableBlurBehind overload

parent c0355ccd
......@@ -877,7 +877,7 @@ void MainWindow::setBlur(bool blur)
_blurEnabled = blur;
if (!_pluggedController->isKonsolePart()) {
KWindowEffects::enableBlurBehind(winId(), blur);
KWindowEffects::enableBlurBehind(windowHandle(), blur);
......@@ -59,7 +59,7 @@ demo_konsolepart::demo_konsolepart()
Q_RETURN_ARG(bool, blurEnabled));
qWarning()<<"blur enabled: "<<blurEnabled;
KWindowEffects::enableBlurBehind(winId(), blurEnabled);
KWindowEffects::enableBlurBehind(windowHandle(), blurEnabled);
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