diff --git a/launcher/lobby/lobby_moc.cpp b/launcher/lobby/lobby_moc.cpp index 5dc57b79d..0122d6801 100644 --- a/launcher/lobby/lobby_moc.cpp +++ b/launcher/lobby/lobby_moc.cpp @@ -41,6 +41,7 @@ void Lobby::changeEvent(QEvent *event) { ui->retranslateUi(this); } + QWidget::changeEvent(event); } Lobby::~Lobby() diff --git a/launcher/lobby/lobbyroomrequest_moc.cpp b/launcher/lobby/lobbyroomrequest_moc.cpp index d8e10e524..f8feed9cd 100644 --- a/launcher/lobby/lobbyroomrequest_moc.cpp +++ b/launcher/lobby/lobbyroomrequest_moc.cpp @@ -29,10 +29,11 @@ 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); } + QDialog::changeEvent(event); } LobbyRoomRequest::~LobbyRoomRequest() diff --git a/launcher/mainwindow_moc.cpp b/launcher/mainwindow_moc.cpp index 32a5b305d..52c464d05 100644 --- a/launcher/mainwindow_moc.cpp +++ b/launcher/mainwindow_moc.cpp @@ -90,6 +90,7 @@ void MainWindow::changeEvent(QEvent *event) { ui->retranslateUi(this); } + QMainWindow::changeEvent(event); } MainWindow::~MainWindow() diff --git a/launcher/modManager/cmodlistview_moc.cpp b/launcher/modManager/cmodlistview_moc.cpp index f977d3bac..28b547c72 100644 --- a/launcher/modManager/cmodlistview_moc.cpp +++ b/launcher/modManager/cmodlistview_moc.cpp @@ -41,6 +41,7 @@ void CModListView::changeEvent(QEvent *event) ui->retranslateUi(this); modModel->reloadRepositories(); } + QWidget::changeEvent(event); } void CModListView::setupFilterModel() diff --git a/launcher/modManager/imageviewer_moc.cpp b/launcher/modManager/imageviewer_moc.cpp index 107419073..e8a9b5814 100644 --- a/launcher/modManager/imageviewer_moc.cpp +++ b/launcher/modManager/imageviewer_moc.cpp @@ -26,6 +26,7 @@ void ImageViewer::changeEvent(QEvent *event) { ui->retranslateUi(this); } + QDialog::changeEvent(event); } ImageViewer::~ImageViewer() diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index 73befdcad..a13b076eb 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -334,4 +334,5 @@ void CSettingsView::changeEvent(QEvent *event) { ui->retranslateUi(this); } + QWidget::changeEvent(event); }