Rockbox Utility: refresh some more dynamic strings after translation change.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-10-04 18:30:27 +00:00
parent b76f197ff6
commit d1e5c74ca8
3 changed files with 6 additions and 0 deletions

View file

@ -137,6 +137,7 @@ void CreateVoiceWindow::changeEvent(QEvent *e)
{
if(e->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
updateSettings();
} else {
QWidget::changeEvent(e);
}

View file

@ -150,6 +150,7 @@ void InstallTalkWindow::changeEvent(QEvent *e)
{
if(e->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
updateSettings();
} else {
QWidget::changeEvent(e);
}

View file

@ -1387,6 +1387,10 @@ void RbUtilQt::changeEvent(QEvent *e)
{
if(e->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
buildInfo.open();
ServerInfo::readBuildInfo(buildInfo.fileName());
buildInfo.close();
updateDevice();
} else {
QMainWindow::changeEvent(e);
}