aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/notifications/notificationpopup.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/notifications/notificationpopup.py')
-rw-r--r--examples/webenginewidgets/notifications/notificationpopup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/webenginewidgets/notifications/notificationpopup.py b/examples/webenginewidgets/notifications/notificationpopup.py
index bbea86102..e68ce3d6f 100644
--- a/examples/webenginewidgets/notifications/notificationpopup.py
+++ b/examples/webenginewidgets/notifications/notificationpopup.py
@@ -51,8 +51,8 @@ class NotificationPopup(QWidget):
self.notification.closed.connect(self.onClosed)
QTimer.singleShot(10000, lambda: self.onClosed())
- self.move(self.parentWidget().mapToGlobal(self.parentWidget().rect().bottomRight() -
- QPoint(self.width() + 10, self.height() + 10)))
+ self.move(self.parentWidget().mapToGlobal(self.parentWidget().rect().bottomRight()
+ - QPoint(self.width() + 10, self.height() + 10)))
@Slot()
def onClosed(self):