mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 21:04:07 -07:00
Debounce and limit searches.
This commit is contained in:
parent
d98bca8be8
commit
fb557d2b14
2 changed files with 14 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ public:
|
|||
* Updates the current page display with results asynchronously.
|
||||
*/
|
||||
void doSearch();
|
||||
void doSearchImmediate();
|
||||
|
||||
/**
|
||||
* @brief Retrieve the tab display text
|
||||
|
|
@ -149,6 +150,8 @@ public slots:
|
|||
void getTopDecks();
|
||||
|
||||
private:
|
||||
QTimer* searchDebounceTimer; ///< Timer to debounce search requests by spin-boxes etc.
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
// Layout Containers
|
||||
// ---------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue