From: James Turner Date: Tue, 24 Nov 2015 08:05:05 +0000 (+0000) Subject: Use old-style SLOT macro for Qtimer::singleShot X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e60dcba61d80f0f0626aab7d3990012cfce02d9;p=flightgear.git Use old-style SLOT macro for Qtimer::singleShot - member-function-pointer variant was only added in 5.4 --- diff --git a/src/GUI/LocationWidget.cxx b/src/GUI/LocationWidget.cxx index cb6479878..c54078713 100644 --- a/src/GUI/LocationWidget.cxx +++ b/src/GUI/LocationWidget.cxx @@ -235,7 +235,7 @@ public: endResetModel(); m_search.reset(new NavDataCache::ThreadedGUISearch(term)); - QTimer::singleShot(100, this, &NavSearchModel::onSearchResultsPoll); + QTimer::singleShot(100, this, SLOT(onSearchResultsPoll())); m_searchActive = true; } @@ -311,7 +311,7 @@ public: Q_SIGNALS: void searchComplete(); -private: +private slots: void onSearchResultsPoll() {