mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 03:52:45 -05:00
rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I6bb86e34438eef10813f0d19e910599156a876e6
This commit is contained in:
parent
f29b81d521
commit
efacce58eb
13 changed files with 26 additions and 26 deletions
|
|
@ -48,11 +48,11 @@ void BootloaderInstallBase::downloadBlStart(QUrl source)
|
|||
{
|
||||
m_http.setFile(&m_tempfile);
|
||||
m_http.setCache(true);
|
||||
connect(&m_http, SIGNAL(done(bool)), this, SLOT(downloadBlFinish(bool)));
|
||||
connect(&m_http, &HttpGet::done, this, &BootloaderInstallBase::downloadBlFinish);
|
||||
// connect the http read signal to our logProgess *signal*
|
||||
// to immediately emit it without any helper function.
|
||||
connect(&m_http, SIGNAL(dataReadProgress(int, int)),
|
||||
this, SIGNAL(logProgress(int, int)));
|
||||
connect(&m_http, &HttpGet::dataReadProgress,
|
||||
this, &BootloaderInstallBase::logProgress);
|
||||
m_http.getFile(source);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue