diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-02-29 07:19:59 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-02-29 07:19:59 +0000 |
| commit | cdfd39e3a141b0ef3fb9b25ac424a3658431da7d (patch) | |
| tree | 670214bfc6bbb68f9d72cf5b8bcdd15fe8b7f3d8 | |
| parent | 1dc9de9432d331554005fbd4ba2651f02c4c572f (diff) | |
| download | rockbox-cdfd39e3a141b0ef3fb9b25ac424a3658431da7d.zip rockbox-cdfd39e3a141b0ef3fb9b25ac424a3658431da7d.tar.gz rockbox-cdfd39e3a141b0ef3fb9b25ac424a3658431da7d.tar.bz2 rockbox-cdfd39e3a141b0ef3fb9b25ac424a3658431da7d.tar.xz | |
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
| -rw-r--r-- | rbutil/rbutilqt/installthemes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/installthemes.cpp b/rbutil/rbutilqt/installthemes.cpp index be196c8..dac7710 100644 --- a/rbutil/rbutilqt/installthemes.cpp +++ b/rbutil/rbutilqt/installthemes.cpp @@ -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())); } |