From ad6732fc788e26c1146bbf7287f0855a86ac4a72 Mon Sep 17 00:00:00 2001 From: Zach H Date: Mon, 1 Dec 2014 11:25:44 -0500 Subject: [PATCH] changes --- cockatrice/src/dlg_settings.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cockatrice/src/dlg_settings.cpp b/cockatrice/src/dlg_settings.cpp index 8760ee41b..85ea5c255 100644 --- a/cockatrice/src/dlg_settings.cpp +++ b/cockatrice/src/dlg_settings.cpp @@ -567,7 +567,6 @@ DeckEditorSettingsPage::DeckEditorSettingsPage() priceTagsCheckBox->setChecked(settingsCache->getPriceTagFeature()); connect(priceTagsCheckBox, SIGNAL(stateChanged(int)), settingsCache, SLOT(setPriceTagFeature(int))); - priceTagSource0 = new QRadioButton; priceTagSource1 = new QRadioButton; switch(settingsCache->getPriceTagSource()) @@ -578,15 +577,13 @@ DeckEditorSettingsPage::DeckEditorSettingsPage() break; } - connect(priceTagSource0, SIGNAL(toggled(bool)), this, SLOT(radioPriceTagSourceClicked(bool))); connect(priceTagSource1, SIGNAL(toggled(bool)), this, SLOT(radioPriceTagSourceClicked(bool))); connect(this, SIGNAL(priceTagSourceChanged(int)), settingsCache, SLOT(setPriceTagSource(int))); QGridLayout *generalGrid = new QGridLayout; generalGrid->addWidget(priceTagsCheckBox, 0, 0); - generalGrid->addWidget(priceTagSource0, 1, 0); - generalGrid->addWidget(priceTagSource1, 2, 0); + generalGrid->addWidget(priceTagSource1, 1, 0); generalGroupBox = new QGroupBox; generalGroupBox->setLayout(generalGrid);