From aec00b32980390b93411f140dfb0503a671c2163 Mon Sep 17 00:00:00 2001 From: Jim Jones Date: Wed, 20 Apr 2022 16:18:20 +0000 Subject: [PATCH] Fix osd dialog position After the upgrade to kde-frameworks-5.93 the osd volume indicator is displayed in the top left corner of the screen instead of being displayed in the center of the screen. BUG: 452648 --- src/plasmaquick/dialog.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 9ca2c8a66..1e6736dee 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1237,11 +1237,7 @@ bool Dialog::event(QEvent *event) { if (event->type() == QEvent::Expose) { if (!KWindowSystem::isPlatformWayland() || !isExposed()) { - auto ret = QQuickWindow::event(event); - if (d->mainItem) { - d->syncToMainItemSize(); - } - return ret; + return QQuickWindow::event(event); } /* -- GitLab