diff --git a/src/gui/components/cc_timer.cpp b/src/gui/components/cc_timer.cpp index 11fa328f3..e57c7465d 100644 --- a/src/gui/components/cc_timer.cpp +++ b/src/gui/components/cc_timer.cpp @@ -125,7 +125,7 @@ void CComponentsTimer::initThread() dprintf(DEBUG_DEBUG,"\033[33m[CComponentsTimer] [%s - %d] started thread ID:%ld \033[0m\n", __func__, __LINE__, pthread_self()); if (res == 0) - CNeutrinoApp::getInstance()->OnBeforeRestart.connect(sl_stop_timer); + CNeutrinoApp::getInstance()->OnBeforeRestart.connect(sigc::retype_return(sl_stop_timer)); } } diff --git a/src/gui/components/cc_timer.h b/src/gui/components/cc_timer.h index 023168472..08e9895c8 100644 --- a/src/gui/components/cc_timer.h +++ b/src/gui/components/cc_timer.h @@ -30,6 +30,7 @@ #endif #include +#include #include #include #include diff --git a/src/neutrino.h b/src/neutrino.h index 6710dea30..a061aa253 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -228,7 +228,7 @@ public: void stopPlayBack(bool lock = false); bool adjustToChannelID(const t_channel_id channel_id); //signal/event handler before restart of neutrino gui - sigc::signal OnBeforeRestart; + sigc::signal OnBeforeRestart; sigc::signal OnShutDown; sigc::signal OnAfterSetupFonts; void channelRezap();