From 9e60dcba61d80f0f0626aab7d3990012cfce02d9 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 24 Nov 2015 08:05:05 +0000 Subject: [PATCH] Use old-style SLOT macro for Qtimer::singleShot - member-function-pointer variant was only added in 5.4 --- src/GUI/LocationWidget.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.39.5