mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-28 23:06:24 +02:00
Formatting
This commit is contained in:
parent
b1aaa09b8b
commit
8010bff866
@ -37,7 +37,7 @@ Lobby::Lobby(QWidget *parent) :
|
||||
|
||||
void Lobby::changeEvent(QEvent *event)
|
||||
{
|
||||
if ( event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ LobbyRoomRequest::LobbyRoomRequest(SocketLobby & socket, const QString & room, c
|
||||
|
||||
void LobbyRoomRequest::changeEvent(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ MainWindow::MainWindow(QWidget * parent)
|
||||
|
||||
void MainWindow::changeEvent(QEvent *event)
|
||||
{
|
||||
if ( event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ void CModListView::setupModModel()
|
||||
|
||||
void CModListView::changeEvent(QEvent *event)
|
||||
{
|
||||
if ( event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
modModel->reloadRepositories();
|
||||
|
@ -22,7 +22,7 @@ ImageViewer::ImageViewer(QWidget * parent)
|
||||
|
||||
void ImageViewer::changeEvent(QEvent *event)
|
||||
{
|
||||
if ( event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
|
@ -329,7 +329,7 @@ void CSettingsView::on_comboBoxLanguage_currentIndexChanged(int index)
|
||||
|
||||
void CSettingsView::changeEvent(QEvent *event)
|
||||
{
|
||||
if ( event->type() == QEvent::LanguageChange)
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user