--- a/eric6/UI/UserInterface.py Mon Jan 04 15:51:18 2021 +0100 +++ b/eric6/UI/UserInterface.py Mon Jan 04 15:59:22 2021 +0100 @@ -7435,14 +7435,10 @@ if self.__notification is None: from .NotificationWidget import NotificationWidget self.__notification = NotificationWidget(parent=self) - self.__notification.setPixmap(icon) - self.__notification.setHeading(heading) - self.__notification.setText(text) if timeout is None: timeout = Preferences.getUI("NotificationTimeout") - self.__notification.setTimeout(timeout) - self.__notification.move(Preferences.getUI("NotificationPosition")) - self.__notification.show() + self.__notification.showNotification(icon, heading, text, + timeout=timeout) def notificationsEnabled(self): """