mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Added default cases to switch
This commit is contained in:
parent
9ca5908de5
commit
d102733826
2 changed files with 8 additions and 6 deletions
|
|
@ -648,12 +648,13 @@ void TabDeckEditor::actUpdatePrices()
|
|||
|
||||
switch(settingsCache->getPriceTagSource())
|
||||
{
|
||||
case AbstractPriceUpdater::BLPPriceSource:
|
||||
up = new BLPPriceUpdater(deckModel->getDeckList());
|
||||
break;
|
||||
case AbstractPriceUpdater::DBPriceSource:
|
||||
up = new DBPriceUpdater(deckModel->getDeckList());
|
||||
break;
|
||||
case AbstractPriceUpdater::BLPPriceSource:
|
||||
default:
|
||||
up = new BLPPriceUpdater(deckModel->getDeckList());
|
||||
break;
|
||||
}
|
||||
|
||||
connect(up, SIGNAL(finishedUpdate()), this, SLOT(finishedUpdatingPrices()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue