diff options
Diffstat (limited to 'utils/rbutilqt/gui')
-rw-r--r-- | utils/rbutilqt/gui/selectiveinstallwidget.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/rbutilqt/gui/selectiveinstallwidget.cpp b/utils/rbutilqt/gui/selectiveinstallwidget.cpp index 3fe2dc7956..341a4072cc 100644 --- a/utils/rbutilqt/gui/selectiveinstallwidget.cpp +++ b/utils/rbutilqt/gui/selectiveinstallwidget.cpp | |||
@@ -277,7 +277,6 @@ void SelectiveInstallWidget::installBootloader(void) | |||
277 | if(ui.bootloaderCheckbox->isChecked()) { | 277 | if(ui.bootloaderCheckbox->isChecked()) { |
278 | LOG_INFO() << "installing bootloader"; | 278 | LOG_INFO() << "installing bootloader"; |
279 | 279 | ||
280 | QString platform = RbSettings::value(RbSettings::Platform).toString(); | ||
281 | QString backupDestination = ""; | 280 | QString backupDestination = ""; |
282 | 281 | ||
283 | // create installer | 282 | // create installer |
@@ -509,7 +508,6 @@ void SelectiveInstallWidget::installVoicefile(void) | |||
509 | RockboxInfo installInfo(m_mountpoint); | 508 | RockboxInfo installInfo(m_mountpoint); |
510 | QString voiceurl; | 509 | QString voiceurl; |
511 | QString logversion; | 510 | QString logversion; |
512 | QString relversion = installInfo.release(); | ||
513 | if(m_buildtype != PlayerBuildInfo::TypeRelease) { | 511 | if(m_buildtype != PlayerBuildInfo::TypeRelease) { |
514 | // release is empty for non-release versions (i.e. daily / current) | 512 | // release is empty for non-release versions (i.e. daily / current) |
515 | logversion = installInfo.release(); | 513 | logversion = installInfo.release(); |
@@ -549,7 +547,6 @@ void SelectiveInstallWidget::installManual(void) | |||
549 | RockboxInfo installInfo(m_mountpoint); | 547 | RockboxInfo installInfo(m_mountpoint); |
550 | QString manualurl; | 548 | QString manualurl; |
551 | QString logversion; | 549 | QString logversion; |
552 | QString relversion = installInfo.release(); | ||
553 | if(m_buildtype != PlayerBuildInfo::TypeRelease) { | 550 | if(m_buildtype != PlayerBuildInfo::TypeRelease) { |
554 | // release is empty for non-release versions (i.e. daily / current) | 551 | // release is empty for non-release versions (i.e. daily / current) |
555 | logversion = installInfo.release(); | 552 | logversion = installInfo.release(); |
@@ -638,7 +635,7 @@ void SelectiveInstallWidget::installPluginData(void) | |||
638 | for(size_t i = 0; i < sizeof(PluginDataFiles) / sizeof(PluginDataFiles[0]); i++) | 635 | for(size_t i = 0; i < sizeof(PluginDataFiles) / sizeof(PluginDataFiles[0]); i++) |
639 | { | 636 | { |
640 | // check if installed Rockbox has this plugin. | 637 | // check if installed Rockbox has this plugin. |
641 | if(QFileInfo(m_mountpoint + "/.rockbox/rocks/" + PluginDataFiles[i].rockfile).exists()) { | 638 | if(QFileInfo::exists(m_mountpoint + "/.rockbox/rocks/" + PluginDataFiles[i].rockfile)) { |
642 | dataName.append(PluginDataFiles[i].name); | 639 | dataName.append(PluginDataFiles[i].name); |
643 | // game URLs do not depend on the actual build type, but we need | 640 | // game URLs do not depend on the actual build type, but we need |
644 | // to pass it (simplifies the API, and will allow to make them | 641 | // to pass it (simplifies the API, and will allow to make them |