diff --git a/src/gui/ctrl/notification-hub.hpp b/src/gui/ctrl/notification-hub.hpp index 1e447cc6f..1aa58a043 100644 --- a/src/gui/ctrl/notification-hub.hpp +++ b/src/gui/ctrl/notification-hub.hpp @@ -76,13 +76,12 @@ namespace ctrl { UNIMPLEMENTED ("create a sensible binding between AssetManager in the session and AssetController in the UI"); } - public: public: - NotificationHub (ID identity, ctrl::BusTerm& nexus)////////////////////////////////////TODO #1099 : define the ID hard-wired at an appropriate location, so it can be used from the NotificationService impl as well + NotificationHub (ID identity, ctrl::BusTerm& nexus) : model::Controller{identity, nexus} { } - + ~NotificationHub() { }; private: diff --git a/src/gui/interact/wizard.cpp b/src/gui/interact/wizard.cpp index 7996eb744..49921c692 100644 --- a/src/gui/interact/wizard.cpp +++ b/src/gui/interact/wizard.cpp @@ -56,6 +56,7 @@ namespace interact { using boost::algorithm::is_any_of; using boost::algorithm::split; using workspace::WorkspaceWindow; + using ctrl::NotificationHub; using ctrl::GlobalCtx; using Gtk::AboutDialog; @@ -67,6 +68,7 @@ namespace interact { Wizard::Wizard (GlobalCtx& globals) : globalCtx_{globals} + , notificationHub_{new NotificationHub{getErrorLogID(), globals.uiBus_.getAccessPoint()}} { }