forked from len0rd/rockbox
rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I984ce56b5b45bbe705ac178cfe26cbc8b0d7e9d2
This commit is contained in:
parent
1a3d12ceea
commit
dfe9d63640
1 changed files with 8 additions and 5 deletions
|
|
@ -50,11 +50,14 @@ SelectiveInstallWidget::SelectiveInstallWidget(QWidget* parent) : QWidget(parent
|
|||
m_zipinstaller = nullptr;
|
||||
m_themesinstaller = nullptr;
|
||||
|
||||
connect(ui.installButton, SIGNAL(clicked()), this, SLOT(startInstall()));
|
||||
connect(this, SIGNAL(installSkipped(bool)), this, SLOT(continueInstall(bool)));
|
||||
connect(ui.themesCustomize, SIGNAL(clicked()), this, SLOT(customizeThemes()));
|
||||
connect(ui.selectedVersion, SIGNAL(currentIndexChanged(int)),
|
||||
this, SLOT(selectedVersionChanged(int)));
|
||||
connect(ui.installButton, &QAbstractButton::clicked,
|
||||
this, &SelectiveInstallWidget::startInstall);
|
||||
connect(this, &SelectiveInstallWidget::installSkipped,
|
||||
this, &SelectiveInstallWidget::continueInstall);
|
||||
connect(ui.themesCustomize, &QAbstractButton::clicked,
|
||||
this, &SelectiveInstallWidget::customizeThemes);
|
||||
connect(ui.selectedVersion, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
|
||||
this, &SelectiveInstallWidget::selectedVersionChanged);
|
||||
// update version information. This also handles setting the previously
|
||||
// selected build type and bootloader disabling.
|
||||
updateVersion();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue