From: Rebecca N. Palmer Date: Mon, 15 Aug 2016 22:10:06 +0000 (+0100) Subject: fix "QObject::connect: No such slot X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b04b02e4bda926113d69e077d2b31193d77aa6b0;p=flightgear.git fix "QObject::connect: No such slot NaturalEarthDataLoaderThread::onFinished()" error message --- 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);