mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
WebTab: Raise notifications instead of clearing parent
This commit is contained in:
parent
7bd3b3d5af
commit
1ff43ec6d8
@ -585,8 +585,8 @@ void WebTab::p_restoreTab(const WebTab::SavedTab &tab)
|
||||
|
||||
void WebTab::showNotification(QWidget* notif)
|
||||
{
|
||||
m_notificationWidget->setParent(nullptr);
|
||||
m_notificationWidget->setParent(this);
|
||||
m_notificationWidget->raise();
|
||||
m_notificationWidget->setFixedWidth(width());
|
||||
m_notificationWidget->layout()->addWidget(notif);
|
||||
m_notificationWidget->show();
|
||||
|
Loading…
Reference in New Issue
Block a user