forked from len0rd/rockbox
rbutilQt: fix missing sansapatcher init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14244 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ead3de3281
commit
fe5acf2dc5
2 changed files with 6 additions and 5 deletions
|
@ -733,7 +733,7 @@ void BootloaderInstaller::ipodFinish()
|
||||||
*** sansa secific code
|
*** sansa secific code
|
||||||
***************************************************/
|
***************************************************/
|
||||||
// reserves memory for sansapatcher
|
// reserves memory for sansapatcher
|
||||||
bool initSansaPatcher()
|
bool initSansapatcher()
|
||||||
{
|
{
|
||||||
if (sansa_alloc_buffer(§orbuf,BUFFER_SIZE) < 0) return true;
|
if (sansa_alloc_buffer(§orbuf,BUFFER_SIZE) < 0) return true;
|
||||||
else return false;
|
else return false;
|
||||||
|
|
|
@ -90,6 +90,7 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
||||||
ui.buttonComplete->setEnabled(false);
|
ui.buttonComplete->setEnabled(false);
|
||||||
|
|
||||||
initIpodpatcher();
|
initIpodpatcher();
|
||||||
|
initSansapatcher();
|
||||||
downloadInfo();
|
downloadInfo();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -351,9 +352,9 @@ void RbUtilQt::installDoom()
|
||||||
|
|
||||||
void RbUtilQt::createTalkFiles(void)
|
void RbUtilQt::createTalkFiles(void)
|
||||||
{
|
{
|
||||||
InstallTalkWindow *installWindow = new InstallTalkWindow(this);
|
InstallTalkWindow *installWindow = new InstallTalkWindow(this);
|
||||||
installWindow->setUserSettings(userSettings);
|
installWindow->setUserSettings(userSettings);
|
||||||
installWindow->setDeviceSettings(devices);
|
installWindow->setDeviceSettings(devices);
|
||||||
installWindow->show();
|
installWindow->show();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue