diff --git a/Linphone/core/screen/ScreenList.cpp b/Linphone/core/screen/ScreenList.cpp index 1f70e793c..23848381f 100644 --- a/Linphone/core/screen/ScreenList.cpp +++ b/Linphone/core/screen/ScreenList.cpp @@ -19,6 +19,8 @@ */ #include "ScreenList.hpp" +#include "core/App.hpp" + #include #include #include @@ -28,6 +30,8 @@ ScreenList::ScreenList(QObject *parent) : AbstractListProxy(parent) { connect(this, &ScreenList::modeChanged, this, &ScreenList::update); + connect(App::getInstance(), &App::screenAdded, this, &ScreenList::update); + connect(App::getInstance(), &App::screenRemoved, this, &ScreenList::update); } ScreenList::~ScreenList() {