From 305a215d21d000d023e24b6d03a9673b0c5ffb2d Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Mon, 13 May 2019 15:50:04 -0700 Subject: [PATCH] Pass a QObject context for the functor --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index bec12388ca..34efe1ba71 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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(); #if defined(Q_OS_ANDROID)