forked from quickshell/quickshell
all: fix gcc warnings
This commit is contained in:
parent
92252c36a3
commit
b528be9426
19 changed files with 57 additions and 22 deletions
|
@ -85,7 +85,7 @@ void Notification::updateProperties(
|
|||
qint32 expireTimeout
|
||||
) {
|
||||
auto urgency = hints.contains("urgency") ? hints.value("urgency").value<quint8>()
|
||||
: NotificationUrgency::Normal;
|
||||
: static_cast<quint8>(NotificationUrgency::Normal);
|
||||
|
||||
auto hasActionIcons = hints.value("action-icons").value<bool>();
|
||||
auto resident = hints.value("resident").value<bool>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue