]> git.mxchange.org Git - flightgear.git/commitdiff
Use SLOT for both uses of QTimer::singleShot
authorRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 24 Nov 2015 18:40:54 +0000 (18:40 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 24 Nov 2015 18:40:54 +0000 (18:40 +0000)
(fix Qt < 5.4 build)

src/GUI/LocationWidget.cxx

index c54078713ea0f362da99424379253f0c6d510721..cdcd5a93a7b66bc71a9a29a2987c4648163e3047 100644 (file)
@@ -329,7 +329,7 @@ private slots:
             m_search.reset();
             emit searchComplete();
         } else {
-            QTimer::singleShot(100, this, &NavSearchModel::onSearchResultsPoll);
+            QTimer::singleShot(100, this, SLOT(onSearchResultsPoll()));
         }
     }