From db825d311985441d787d7215de45e51c0425a351 Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Mon, 15 Aug 2016 23:10:06 +0100 Subject: [PATCH] fix "QObject::connect: No such slot NaturalEarthDataLoaderThread::onFinished()" error message --- src/GUI/QtLauncher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 7dc058b82..221e32088 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -288,7 +288,7 @@ protected: } private: - void onFinished() + Q_SLOT void onFinished() { flightgear::PolyLineList::const_iterator begin = m_parsedLines.begin() + m_lineInsertCount; unsigned int numToAdd = std::min(1000UL, m_parsedLines.size() - m_lineInsertCount);