mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Make sure to create the logger first. Fixes a segfault due to a race with info download process (happened in offline mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16453 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1dc9de9432
commit
cdfd39e3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -230,11 +230,11 @@ void ThemesInstallWindow::resizeEvent(QResizeEvent* e)
|
|||
|
||||
void ThemesInstallWindow::show()
|
||||
{
|
||||
downloadInfo();
|
||||
QDialog::show();
|
||||
logger = new ProgressLoggerGui(this);
|
||||
logger->show();
|
||||
logger->addItem(tr("getting themes information ..."), LOGINFO);
|
||||
downloadInfo();
|
||||
connect(logger, SIGNAL(aborted()), getter, SLOT(abort()));
|
||||
connect(logger, SIGNAL(aborted()), this, SLOT(close()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue