update UI a few times more often during installation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14542 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-08-30 19:37:18 +00:00
parent 3a0c78bb76
commit 4f8818241b

View file

@ -136,12 +136,13 @@ void ZipInstaller::downloadDone(bool error)
return; return;
} }
else m_dp->addItem(tr("Download finished."),LOGOK); else m_dp->addItem(tr("Download finished."),LOGOK);
QApplication::processEvents();
if(m_unzip) { if(m_unzip) {
// unzip downloaded file // unzip downloaded file
qDebug() << "about to unzip the downloaded file" << m_file << "to" << m_mountpoint; qDebug() << "about to unzip the downloaded file" << m_file << "to" << m_mountpoint;
m_dp->addItem(tr("Extracting file."),LOGINFO); m_dp->addItem(tr("Extracting file."),LOGINFO);
QApplication::processEvents();
qDebug() << "file to unzip: " << m_file; qDebug() << "file to unzip: " << m_file;
UnZip::ErrorCode ec; UnZip::ErrorCode ec;