From ede8859cc777ef1ea5473c0c083777b754519b00 Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Mon, 13 May 2019 14:38:34 -0700 Subject: [PATCH] Call correct NodeList::reset() from Application --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 678f737f25..bec12388ca 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1298,8 +1298,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo connect(nodeList.data(), &NodeList::packetVersionMismatch, this, &Application::notifyPacketVersionMismatch); // you might think we could just do this in NodeList but we only want this connection for Interface - connect(&nodeList->getDomainHandler(), SIGNAL(limitOfSilentDomainCheckInsReached()), - nodeList.data(), SLOT(reset())); + connect(&nodeList->getDomainHandler(), &DomainHandler::limitOfSilentDomainCheckInsReached, + [nodeList]() {nodeList->reset("Domain checkin limit"); }); auto dialogsManager = DependencyManager::get(); #if defined(Q_OS_ANDROID)