Commit 14c45669 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Pedantic: Cast to exact type

Signal argument is uint, not int.
parent e90a75d9
......@@ -72,7 +72,7 @@ void Server::closeNotification(uint notificationId, CloseReason reason)
{
emit notificationRemoved(notificationId, reason);
emit d->NotificationClosed(notificationId, static_cast<int>(reason)); // tell on DBus
emit d->NotificationClosed(notificationId, static_cast<uint>(reason)); // tell on DBus
}
void Server::invokeAction(uint notificationId, const QString &actionName)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment