mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 23:42:15 -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)
|
void VisualDeckEditorSampleHandWidget::setDeckModel(DeckListModel *deckModel)
|
||||||
{
|
{
|
||||||
deckListModel = deckModel;
|
deckListModel = deckModel;
|
||||||
connect(deckListModel, &DeckListModel::dataChanged, this, &VisualDeckEditorSampleHandWidget::updateDisplay);
|
// connect(deckListModel, &DeckListModel::dataChanged, this, &VisualDeckEditorSampleHandWidget::updateDisplay);
|
||||||
updateDisplay();
|
updateDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue