diff --git a/statusprovider.h b/statusprovider.h index 043f356..a79ed80 100644 --- a/statusprovider.h +++ b/statusprovider.h @@ -272,7 +272,7 @@ inline void StatusProvider::invokeCallbacks() */ inline void StatusProvider::updateWorstNotificationType(NotificationType notificationType) { - if(static_cast(m_worstNotificationType) < static_cast(notificationType)) { + if(m_worstNotificationType < notificationType) { m_worstNotificationType = notificationType; } }