Update cache information after translation change.

Since a translation change can affect the locale the locale-dependent strings
need to be refreshed explicitly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30634 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-10-02 14:36:38 +00:00
parent 2e3de70401
commit 9e016c4791

View file

@ -903,6 +903,7 @@ void Config::changeEvent(QEvent *e)
{
if(e->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
updateCacheInfo(ui.cachePath->text());
} else {
QWidget::changeEvent(e);
}