Commit 1d0f84d3 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Support for real-time retranslation of the WelcomePage

parent 30164751
......@@ -19,3 +19,15 @@ int WelcomePage::nextId() const
else
return ProjectWizard::Page_Open;
}
void WelcomePage::changeEvent( QEvent *e )
{
switch ( e->type() )
{
case QEvent::LanguageChange:
m_ui.retranslateUi( this );
break;
default:
break;
}
}
......@@ -16,6 +16,9 @@ class WelcomePage : public QWizardPage
int nextId() const;
protected:
virtual void changeEvent( QEvent *e );
private:
Ui::WelcomePage m_ui;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment