From: Rebecca N. Palmer Date: Thu, 11 Aug 2016 21:32:29 +0000 (+0100) Subject: QtLauncher: fix build with Qt < 5.4 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=655b793ccf35c55a4354e12f106e9f055698cbe2;p=flightgear.git QtLauncher: fix build with Qt < 5.4 --- diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 9a1a23f90..2d126ede1 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -299,7 +299,7 @@ private: deleteLater(); // commit suicide } else { m_lineInsertCount += 1000; - QTimer::singleShot(50, this, &NaturalEarthDataLoaderThread::onFinished); + QTimer::singleShot(50, this, SLOT(onFinished())); } }