NotificationBox: Convert options to enum class

This commit is contained in:
Abdullah Tahiri
2023-03-21 08:52:37 +01:00
committed by abdullahtahiriyo
parent 1e3b728f35
commit 6e3bdd8f2a
2 changed files with 10 additions and 4 deletions

View File

@@ -996,9 +996,9 @@ void NotificationArea::showInNotificationArea()
getMainWindow(),
pImp->notificationExpirationTime,
pImp->minimumOnScreenTime,
NotificationBox::OnlyIfReferenceActive |
NotificationBox::RestrictAreaToReference |
NotificationBox::HideIfReferenceWidgetDeactivated,
NotificationBox::Options::OnlyIfReferenceActive |
NotificationBox::Options::RestrictAreaToReference |
NotificationBox::Options::HideIfReferenceWidgetDeactivated,
pImp->notificationWidth);
}
}