1
0
Fork 0
forked from len0rd/rockbox

Handle language change events in widgets.

Change-Id: I54265e8c5da03e7d13217118f233effa8837f007
This commit is contained in:
Dominik Riebeling 2012-06-30 10:50:28 +02:00
parent e8d1583068
commit 6db53f4ef8
6 changed files with 36 additions and 0 deletions

View file

@ -550,3 +550,12 @@ void SelectiveInstallWidget::installGamefiles(void)
}
}
void SelectiveInstallWidget::changeEvent(QEvent *e)
{
if(e->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
} else {
QWidget::changeEvent(e);
}
}