1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Call method from parent class after processing event

This commit is contained in:
Ivan Savenko 2022-12-28 17:58:39 +02:00
parent f9575d6690
commit cd6a894417
6 changed files with 7 additions and 1 deletions

View File

@ -41,6 +41,7 @@ void Lobby::changeEvent(QEvent *event)
{
ui->retranslateUi(this);
}
QWidget::changeEvent(event);
}
Lobby::~Lobby()

View File

@ -33,6 +33,7 @@ void LobbyRoomRequest::changeEvent(QEvent *event)
{
ui->retranslateUi(this);
}
QDialog::changeEvent(event);
}
LobbyRoomRequest::~LobbyRoomRequest()

View File

@ -90,6 +90,7 @@ void MainWindow::changeEvent(QEvent *event)
{
ui->retranslateUi(this);
}
QMainWindow::changeEvent(event);
}
MainWindow::~MainWindow()

View File

@ -41,6 +41,7 @@ void CModListView::changeEvent(QEvent *event)
ui->retranslateUi(this);
modModel->reloadRepositories();
}
QWidget::changeEvent(event);
}
void CModListView::setupFilterModel()

View File

@ -26,6 +26,7 @@ void ImageViewer::changeEvent(QEvent *event)
{
ui->retranslateUi(this);
}
QDialog::changeEvent(event);
}
ImageViewer::~ImageViewer()

View File

@ -334,4 +334,5 @@ void CSettingsView::changeEvent(QEvent *event)
{
ui->retranslateUi(this);
}
QWidget::changeEvent(event);
}