1
0
Fork 0
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:
Dominik Wenger 2007-08-08 20:16:33 +00:00
parent ead3de3281
commit fe5acf2dc5
2 changed files with 6 additions and 5 deletions

View file

@ -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(&sectorbuf,BUFFER_SIZE) < 0) return true; if (sansa_alloc_buffer(&sectorbuf,BUFFER_SIZE) < 0) return true;
else return false; else return false;

View file

@ -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();
} }