Skip to content

Commit 8084fad

Browse files
committed
~ don't change the app language when system locale changed
1 parent 567877a commit 8084fad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

MainWindow.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,10 +2137,6 @@ void MainWindow::changeEvent(QEvent* event) {
21372137
retranslateUi(this);
21382138
updateWindowTitle();
21392139
break;
2140-
case QEvent::LocaleChange: {
2141-
dynamic_cast<Application*>(qApp)->installLanguage(QLocale::system().name());
2142-
break;
2143-
}
21442140
default:
21452141
QWidget::changeEvent(event);
21462142
break;

0 commit comments

Comments
 (0)