CheatSearchFactoryWidget: Set QButtonGroup's parent

This commit is contained in:
Pokechu22 2022-02-12 11:39:45 -08:00
parent 99b3ac21e4
commit 0daee4fe9f
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void CheatSearchFactoryWidget::CreateWidgets()
auto* custom_address_space_layout = new QVBoxLayout(); auto* custom_address_space_layout = new QVBoxLayout();
custom_address_space_layout->setMargin(6); custom_address_space_layout->setMargin(6);
auto* custom_address_space_button_group = new QButtonGroup(); auto* custom_address_space_button_group = new QButtonGroup(this);
m_custom_virtual_address_space = new QRadioButton(tr("Use virtual addresses when possible")); m_custom_virtual_address_space = new QRadioButton(tr("Use virtual addresses when possible"));
m_custom_virtual_address_space->setChecked(true); m_custom_virtual_address_space->setChecked(true);
m_custom_physical_address_space = new QRadioButton(tr("Use physical addresses")); m_custom_physical_address_space = new QRadioButton(tr("Use physical addresses"));