diff --git a/src/effects/blur/blur.cpp b/src/effects/blur/blur.cpp index 70d6344c43..a451c15ea3 100644 --- a/src/effects/blur/blur.cpp +++ b/src/effects/blur/blur.cpp @@ -13,7 +13,7 @@ #include #include -#include // for QGuiApplication +#include #include #include #include @@ -51,7 +51,7 @@ BlurEffect::BlurEffect() } if (effects->waylandDisplay()) { if (!s_blurManagerRemoveTimer) { - s_blurManagerRemoveTimer = new QTimer(qApp); + s_blurManagerRemoveTimer = new QTimer(QCoreApplication::instance()); s_blurManagerRemoveTimer->setSingleShot(true); s_blurManagerRemoveTimer->callOnTimeout([]() { s_blurManager->remove();