1
0
Fork 0

Use old-style SLOT macro for Qtimer::singleShot

- member-function-pointer variant was only added in 5.4
This commit is contained in:
James Turner 2015-11-24 08:05:05 +00:00
parent 997a431d53
commit 9e60dcba61

View 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()
{