mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
Fetching seven cards from the database on every decklist update is insanity performance-wise.
This commit is contained in:
parent
4afd574b48
commit
5791d7ffda
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ void VisualDeckEditorSampleHandWidget::retranslateUi()
|
|||
void VisualDeckEditorSampleHandWidget::setDeckModel(DeckListModel *deckModel)
|
||||
{
|
||||
deckListModel = deckModel;
|
||||
connect(deckListModel, &DeckListModel::dataChanged, this, &VisualDeckEditorSampleHandWidget::updateDisplay);
|
||||
// connect(deckListModel, &DeckListModel::dataChanged, this, &VisualDeckEditorSampleHandWidget::updateDisplay);
|
||||
updateDisplay();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue