Use old-style SLOT macro for Qtimer::singleShot
- member-function-pointer variant was only added in 5.4
This commit is contained in:
parent
997a431d53
commit
9e60dcba61
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue