1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00

Formatting

This commit is contained in:
Ivan Savenko 2022-12-29 16:37:38 +02:00
parent b1aaa09b8b
commit 8010bff866
6 changed files with 6 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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();

View File

@ -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);
}

View File

@ -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);
}