Pass a QObject context for the functor

This commit is contained in:
Simon Walton 2019-05-13 15:50:04 -07:00
parent ede8859cc7
commit 305a215d21

View file

@ -1299,7 +1299,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
// you might think we could just do this in NodeList but we only want this connection for Interface
connect(&nodeList->getDomainHandler(), &DomainHandler::limitOfSilentDomainCheckInsReached,
[nodeList]() {nodeList->reset("Domain checkin limit"); });
nodeList.data(), [nodeList]() {nodeList->reset("Domain checkin limit"); });
auto dialogsManager = DependencyManager::get<DialogsManager>();
#if defined(Q_OS_ANDROID)