From: Rebecca N. Palmer Date: Tue, 24 Nov 2015 18:40:54 +0000 (+0000) Subject: Use SLOT for both uses of QTimer::singleShot X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc725c61de449885af0c95c4a03a2cda2827e497;p=flightgear.git Use SLOT for both uses of QTimer::singleShot (fix Qt < 5.4 build) --- diff --git a/src/GUI/LocationWidget.cxx b/src/GUI/LocationWidget.cxx index c54078713..cdcd5a93a 100644 --- a/src/GUI/LocationWidget.cxx +++ b/src/GUI/LocationWidget.cxx @@ -329,7 +329,7 @@ private slots: m_search.reset(); emit searchComplete(); } else { - QTimer::singleShot(100, this, &NavSearchModel::onSearchResultsPoll); + QTimer::singleShot(100, this, SLOT(onSearchResultsPoll())); } }