summaryrefslogtreecommitdiff
path: root/ui/qt5/bootpage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/bootpage.cc')
-rw-r--r--ui/qt5/bootpage.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt5/bootpage.cc b/ui/qt5/bootpage.cc
index 09bebbf..baa9c67 100644
--- a/ui/qt5/bootpage.cc
+++ b/ui/qt5/bootpage.cc
@@ -3,7 +3,7 @@
* horizon-qt5, the Qt 5 user interface for
* Project Horizon
*
- * Copyright (c) 2019 Adélie Linux and contributors. All rights reserved.
+ * Copyright (c) 2019-2020 Adélie Linux and contributors. All rights reserved.
* This code is licensed under the AGPL 3.0 license, as noted in the
* LICENSE-code file in the root directory of this repository.
*
@@ -34,7 +34,7 @@ BootPage::BootPage(QWidget *parent) : HorizonWizardPage(parent) {
yesGrub->setWhatsThis(tr("This option will install a bootloader to your hard disk, replacing any other bootloader if present."));
noGrub = new QRadioButton(tr("&Do not install a boot loader."));
noGrub->setWhatsThis(tr("This option will not install a bootloader to your hard disk. You may be required to configure a bootloader yourself before your computer will start up properly."));
- QButtonGroup *grubChoices = new QButtonGroup;
+ QButtonGroup *grubChoices = new QButtonGroup(this);
grubChoices->addButton(yesGrub, true);
grubChoices->addButton(noGrub, false);
connect(grubChoices, static_cast<void (QButtonGroup:: *)(int)>(&QButtonGroup::buttonClicked),