Pedantic: Cast to exact type

Signal argument is uint, not int.
wilder-portage-prov
Kai Uwe Broulik 6 years ago
parent e90a75d9f2
commit 14c456697a
  1. 2
      libnotificationmanager/server.cpp

@ -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)

Loading…
Cancel
Save