Commit aec00b32 authored by Jim Jones's avatar Jim Jones Committed by Aleix Pol Gonzalez
Browse files

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
parent cd6fc7a0
Pipeline #165883 passed with stage
in 4 minutes and 37 seconds
......@@ -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);
}
/*
......
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