]> git.mxchange.org Git - flightgear.git/commitdiff
Use old-style SLOT macro for Qtimer::singleShot
authorJames Turner <zakalawe@mac.com>
Tue, 24 Nov 2015 08:05:05 +0000 (08:05 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 24 Nov 2015 08:05:17 +0000 (08:05 +0000)
- member-function-pointer variant was only added in 5.4

src/GUI/LocationWidget.cxx

index cb6479878d6c883c3d816fbc4ad9ca820743d84a..c54078713ea0f362da99424379253f0c6d510721 100644 (file)
@@ -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()
     {