mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[Models] Decrease the delay for filtering to 300ms
This commit is contained in:
parent
f9d3c102ec
commit
d422ce3767
@ -313,7 +313,7 @@ BookmarksFilterModel::BookmarksFilterModel(QAbstractItemModel* parent)
|
||||
|
||||
m_filterTimer = new QTimer(this);
|
||||
m_filterTimer->setSingleShot(true);
|
||||
m_filterTimer->setInterval(500);
|
||||
m_filterTimer->setInterval(300);
|
||||
|
||||
connect(m_filterTimer, SIGNAL(timeout()), this, SLOT(startFiltering()));
|
||||
}
|
||||
|
@ -512,6 +512,7 @@ void HistoryModel::init()
|
||||
}
|
||||
}
|
||||
|
||||
// HistoryFilterModel
|
||||
HistoryFilterModel::HistoryFilterModel(QAbstractItemModel* parent)
|
||||
: QSortFilterProxyModel(parent)
|
||||
{
|
||||
@ -520,7 +521,7 @@ HistoryFilterModel::HistoryFilterModel(QAbstractItemModel* parent)
|
||||
|
||||
m_filterTimer = new QTimer(this);
|
||||
m_filterTimer->setSingleShot(true);
|
||||
m_filterTimer->setInterval(500);
|
||||
m_filterTimer->setInterval(300);
|
||||
|
||||
connect(m_filterTimer, SIGNAL(timeout()), this, SLOT(startFiltering()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user