diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-21 19:50:27 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-21 19:50:27 +0000 |
commit | 29dbd8f3175ae1d2c4bd291eadbe00b910f152b9 (patch) | |
tree | d218c6b350588a7a704e0885ed0fcb6e8c1e1c78 | |
parent | c164b8651d4754c81608e6e582cca0fc17e9a51a (diff) |
Invalidate preview image cache when updating to prevent a resize event repainting the old image before the new image is downloaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20773 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/rbutilqt/themesinstallwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/themesinstallwindow.cpp b/rbutil/rbutilqt/themesinstallwindow.cpp index fb3fbe4cb7..4bbcc747bb 100644 --- a/rbutil/rbutilqt/themesinstallwindow.cpp +++ b/rbutil/rbutilqt/themesinstallwindow.cpp @@ -180,6 +180,7 @@ void ThemesInstallWindow::updateDetails(QListWidgetItem* cur, QListWidgetItem* p .arg(cur->data(Qt::DisplayRole).toString())); ui.themePreview->clear(); ui.themePreview->setText(tr("fetching preview ...")); + imgData.clear(); iniDetails.beginGroup(cur->data(Qt::UserRole).toString()); |