summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallimx.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-21 10:21:31 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-21 10:21:31 +0100
commitefacce58eb7239b71e9826b707b7152ba03f0347 (patch)
tree7e135882d81ba97ec828fad6e002daf58f08a425 /rbutil/rbutilqt/base/bootloaderinstallimx.cpp
parentf29b81d5217f3ef21bbc88131bdab5227a677511 (diff)
downloadrockbox-efacce58eb.tar.gz
rockbox-efacce58eb.tar.bz2
rockbox-efacce58eb.zip
rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I6bb86e34438eef10813f0d19e910599156a876e6
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallimx.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallimx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallimx.cpp b/rbutil/rbutilqt/base/bootloaderinstallimx.cpp
index 581d70270c..7428cf10c8 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallimx.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallimx.cpp
@@ -98,7 +98,7 @@ bool BootloaderInstallImx::install(void)
LOG_INFO() << "downloading bootloader";
// download bootloader from server
emit logItem(tr("Downloading bootloader file"), LOGINFO);
- connect(this, SIGNAL(downloadDone()), this, SLOT(installStage2()));
+ connect(this, &BootloaderInstallBase::downloadDone, this, &BootloaderInstallImx::installStage2);
downloadBlStart(m_blurl);
return true;
}
@@ -120,7 +120,7 @@ void BootloaderInstallImx::installStage2(void)
m_thread->setOutputFile(m_patchedFile.fileName());
m_tempfile.close();
m_patchedFile.close();
- connect(m_thread, SIGNAL(finished()), this, SLOT(installStage3()));
+ connect(m_thread, &QThread::finished, this, &BootloaderInstallImx::installStage3);
connect(m_thread, SIGNAL(terminated()), this, SLOT(installStage3()));
m_thread->start();
}