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 49966ac84d
commit 76892d918d
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);
}
}