1
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:
David Rosca 2018-02-07 10:26:46 +01:00
parent 7bd3b3d5af
commit 1ff43ec6d8
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -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();