Skip to content

Commit

Permalink
Merge branch 'notification_default_urgency' into 'master'
Browse files Browse the repository at this point in the history
[lipstick] Default notification urgency should be normal. Fixes JB#51339

See merge request mer-core/lipstick!156
  • Loading branch information
pvuorela committed Sep 24, 2020
2 parents 99e153c + 236d824 commit fc665e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifications/lipsticknotification.cpp
Expand Up @@ -279,7 +279,7 @@ QString LipstickNotification::subText() const

int LipstickNotification::urgency() const
{
return m_hints.value(LipstickNotification::HINT_URGENCY).toInt();
return m_hints.value(LipstickNotification::HINT_URGENCY, LipstickNotification::Normal).toInt();
}

int LipstickNotification::itemCount() const
Expand Down

0 comments on commit fc665e3

Please sign in to comment.