File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
22 * Cppcheck - A tool for static C/C++ code analysis
3- * Copyright (C) 2007-2020 Cppcheck team.
3+ * Copyright (C) 2007-2021 Cppcheck team.
44 *
55 * This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -1459,6 +1459,9 @@ void MainWindow::setLanguage(const QString &code)
14591459 // Translate everything that is visible here
14601460 mUI .retranslateUi (this );
14611461 mUI .mResults ->translate ();
1462+ mLineEditFilter ->setPlaceholderText (QCoreApplication::translate (" MainWindow" , " Quick Filter:" ));
1463+ if (mProjectFile )
1464+ formatAndSetTitle (tr (" Project:" ) + ' ' + mProjectFile ->getFilename ());
14621465 }
14631466}
14641467
Original file line number Diff line number Diff line change 11/*
22 * Cppcheck - A tool for static C/C++ code analysis
3- * Copyright (C) 2007-2020 Cppcheck team.
3+ * Copyright (C) 2007-2021 Cppcheck team.
44 *
55 * This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -364,6 +364,7 @@ void ResultsView::saveSettings(QSettings *settings)
364364
365365void ResultsView::translate ()
366366{
367+ mUI .retranslateUi (this );
367368 mUI .mTree ->translate ();
368369}
369370
You can’t perform that action at this time.
0 commit comments