Fix NotificationData initialization

This commit is contained in:
Ilya Fedin 2025-03-03 10:33:38 +00:00 committed by John Preston
parent b2481ea6c1
commit 5dbe429e6b

View file

@ -541,7 +541,8 @@ void Manager::Private::showNotification(
? info.title.toStdString()
: info.subtitle.toStdString()
+ " (" + info.title.toStdString() + ')'))
: std::variant<Notification, Gio::Notification>(Notification{});
: std::variant<Notification, Gio::Notification>(
std::make_unique<NotificationData>());
std::vector<gi::cstring> actions;
auto hints = GLib::VariantDict::new_();