mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
rbutil: Fix various issues found by clazy.
Change-Id: I91ca2baed34f0f3b561602f95f66bbd4e17e74ab
This commit is contained in:
parent
0768705545
commit
01e245417e
9 changed files with 15 additions and 19 deletions
|
|
@ -281,8 +281,7 @@ void RbUtilQt::about()
|
|||
licenses[":/docs/LICENSE.BZIP2"] = "<a id='bzip2'>bzip2 License</a>";
|
||||
licenses[":/docs/LICENSE.BSPATCH"] = "<a id='bspatch'>bspatch License</a>";
|
||||
|
||||
for (int i = 0; i < licenses.size(); i++) {
|
||||
QString key = licenses.keys().at(i);
|
||||
for (auto const& key : licenses.keys()) {
|
||||
QFile license(key);
|
||||
license.open(QIODevice::ReadOnly);
|
||||
QTextStream s(&license);
|
||||
|
|
@ -461,8 +460,6 @@ void RbUtilQt::uninstallBootloader(void)
|
|||
ProgressLoggerGui* logger = new ProgressLoggerGui(this);
|
||||
logger->show();
|
||||
|
||||
QString platform = RbSettings::value(RbSettings::Platform).toString();
|
||||
|
||||
// create installer
|
||||
BootloaderInstallBase *bl
|
||||
= BootloaderInstallHelper::createBootloaderInstaller(this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue