blob: 0882304028635f794e7327c1de5495586cec423b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From aec00b32980390b93411f140dfb0503a671c2163 Mon Sep 17 00:00:00 2001
From: Jim Jones <rauchwolke@gmx.net>
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
|