NotificationBox: Add option to hide notification if reference widget is deactivated

This commit is contained in:
Abdullah Tahiri
2023-03-21 08:36:16 +01:00
committed by abdullahtahiriyo
parent f0883512d5
commit 49966ac84d
3 changed files with 17 additions and 2 deletions

View File

@@ -997,7 +997,8 @@ void NotificationArea::showInNotificationArea()
pImp->notificationExpirationTime,
pImp->minimumOnScreenTime,
NotificationBox::OnlyIfReferenceActive |
NotificationBox::RestrictAreaToReference,
NotificationBox::RestrictAreaToReference |
NotificationBox::HideIfReferenceWidgetDeactivated,
pImp->notificationWidth);
}
}