diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/gui/selectiveinstallwidget.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp index 1d7439e6fc..ef54a918ab 100644 --- a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp +++ b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp | |||
@@ -50,11 +50,14 @@ SelectiveInstallWidget::SelectiveInstallWidget(QWidget* parent) : QWidget(parent | |||
50 | m_zipinstaller = nullptr; | 50 | m_zipinstaller = nullptr; |
51 | m_themesinstaller = nullptr; | 51 | m_themesinstaller = nullptr; |
52 | 52 | ||
53 | connect(ui.installButton, SIGNAL(clicked()), this, SLOT(startInstall())); | 53 | connect(ui.installButton, &QAbstractButton::clicked, |
54 | connect(this, SIGNAL(installSkipped(bool)), this, SLOT(continueInstall(bool))); | 54 | this, &SelectiveInstallWidget::startInstall); |
55 | connect(ui.themesCustomize, SIGNAL(clicked()), this, SLOT(customizeThemes())); | 55 | connect(this, &SelectiveInstallWidget::installSkipped, |
56 | connect(ui.selectedVersion, SIGNAL(currentIndexChanged(int)), | 56 | this, &SelectiveInstallWidget::continueInstall); |
57 | this, SLOT(selectedVersionChanged(int))); | 57 | connect(ui.themesCustomize, &QAbstractButton::clicked, |
58 | this, &SelectiveInstallWidget::customizeThemes); | ||
59 | connect(ui.selectedVersion, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), | ||
60 | this, &SelectiveInstallWidget::selectedVersionChanged); | ||
58 | // update version information. This also handles setting the previously | 61 | // update version information. This also handles setting the previously |
59 | // selected build type and bootloader disabling. | 62 | // selected build type and bootloader disabling. |
60 | updateVersion(); | 63 | updateVersion(); |