mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
Bug Fix
This commit is contained in:
parent
e808e36b90
commit
4bd6616e1b
1 changed files with 0 additions and 12 deletions
|
|
@ -30,18 +30,6 @@ DlgCardSearch::DlgCardSearch(QWidget *parent)
|
||||||
cboSetList->addItem(tr("%1").arg(setList.at(intLoop)->getLongName()), setList.at(intLoop)->getShortName());
|
cboSetList->addItem(tr("%1").arg(setList.at(intLoop)->getLongName()), setList.at(intLoop)->getShortName());
|
||||||
}
|
}
|
||||||
|
|
||||||
//Adding Set Selector
|
|
||||||
QLabel *cardSetsLabel = new QLabel(tr("Card Set (AND):"));
|
|
||||||
cboSetList = new QComboBox();
|
|
||||||
cboSetList->addItem("");
|
|
||||||
SetList setList = db->getSetList();
|
|
||||||
setList.sortByName();
|
|
||||||
int iCount = setList.size();
|
|
||||||
for (int iLoop = 0; iLoop < iCount; ++iLoop) {
|
|
||||||
//Adding Translated Set Name, Just In Case
|
|
||||||
cboSetList->addItem(setList.at(iLoop)->getLongName(), setList.at(iLoop)->getShortName());
|
|
||||||
}
|
|
||||||
|
|
||||||
QLabel *cardTypesLabel = new QLabel(tr("Card type (OR):"));
|
QLabel *cardTypesLabel = new QLabel(tr("Card type (OR):"));
|
||||||
const QStringList &cardTypes = db->getAllMainCardTypes();
|
const QStringList &cardTypes = db->getAllMainCardTypes();
|
||||||
QVBoxLayout *cardTypesLayout = new QVBoxLayout;
|
QVBoxLayout *cardTypesLayout = new QVBoxLayout;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue