diff options
Diffstat (limited to 'src/plugins/cppcheck/cppcheckdiagnosticview.cpp')
-rw-r--r-- | src/plugins/cppcheck/cppcheckdiagnosticview.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/plugins/cppcheck/cppcheckdiagnosticview.cpp b/src/plugins/cppcheck/cppcheckdiagnosticview.cpp index f20332e79d..2976fffbb1 100644 --- a/src/plugins/cppcheck/cppcheckdiagnosticview.cpp +++ b/src/plugins/cppcheck/cppcheckdiagnosticview.cpp @@ -3,15 +3,16 @@ #include "cppcheckdiagnosticview.h" +#include "cppchecktr.h" + #include <coreplugin/editormanager/editormanager.h> #include <debugger/analyzer/diagnosticlocation.h> -namespace Cppcheck { -namespace Internal { - using namespace Debugger; +namespace Cppcheck::Internal { + DiagnosticView::DiagnosticView(QWidget *parent) : DetailedErrorView(parent) { @@ -21,7 +22,7 @@ DiagnosticView::DiagnosticView(QWidget *parent) setAutoScroll(false); sortByColumn(DiagnosticColumn, Qt::AscendingOrder); setObjectName("CppcheckIssuesView"); - setWindowTitle(tr("Cppcheck Diagnostics")); + setWindowTitle(Tr::tr("Cppcheck Diagnostics")); setHeaderHidden(true); } @@ -90,7 +91,4 @@ void DiagnosticView::mouseDoubleClickEvent(QMouseEvent *event) DetailedErrorView::mouseDoubleClickEvent(event); } -} // namespace Internal -} // namespace Cppcheck - -//#include "clangtoolsdiagnosticview.moc" +} // Cppcheck::Internal |