diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2015-10-31 12:53:49 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-03 12:21:36 +0000 |
commit | eafc94c9acf7dadd1a10f3effdae8249dfd53109 (patch) | |
tree | 9aa0d82ea608140b5b255d7588da3e6e6bc799a3 | |
parent | 3df2333155abf8fdfdedc51aca0fe962499f10b5 (diff) | |
download | wireshark-eafc94c9acf7dadd1a10f3effdae8249dfd53109.tar.gz wireshark-eafc94c9acf7dadd1a10f3effdae8249dfd53109.tar.bz2 wireshark-eafc94c9acf7dadd1a10f3effdae8249dfd53109.zip |
[Qt recent files menu] make sure that the "Clear Menu" item is retranslated
this item is created along with the list of recent files
it looks like our only option to update its translation is to rebuild the
list of recent files
Change-Id: If740571fb9c939d65ca4f1f432aadf22c38dcb27
Reviewed-on: https://code.wireshark.org/review/11462
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | ui/qt/main_window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index a923a533d9..00e293e1aa 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -1997,6 +1997,8 @@ void MainWindow::changeEvent(QEvent* event) { case QEvent::LanguageChange: main_ui_->retranslateUi(this); + // make sure that the "Clear Menu" item is retranslated + updateRecentFiles(); break; case QEvent::LocaleChange:{ QString locale = QLocale::system().name(); |