forked from qt-creator/qt-creator
Fix lupdate issues
Change-Id: I26f08ae82354c178f6d26f9138796328b50bfba8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -60,8 +60,7 @@ public:
|
||||
CppcheckOptionsPage options;
|
||||
DiagnosticsModel manualRunModel;
|
||||
CppcheckTool manualRunTool;
|
||||
Utils::Perspective perspective{Constants::PERSPECTIVE_ID,
|
||||
tr("Cppcheck", "CppcheckPlugin")};
|
||||
Utils::Perspective perspective{Constants::PERSPECTIVE_ID, CppcheckPlugin::tr("Cppcheck")};
|
||||
QAction *manualRunAction;
|
||||
|
||||
void startManualRun();
|
||||
@@ -85,7 +84,7 @@ CppcheckPluginPrivate::CppcheckPluginPrivate() :
|
||||
auto action = new QAction(this);
|
||||
action->setEnabled(false);
|
||||
action->setIcon(Utils::Icons::PREV_TOOLBAR.icon());
|
||||
action->setToolTip(tr("Go to previous diagnostic."));
|
||||
action->setToolTip(CppcheckPlugin::tr("Go to previous diagnostic."));
|
||||
connect(action, &QAction::triggered,
|
||||
manualRunView, &Debugger::DetailedErrorView::goBack);
|
||||
connect (&manualRunModel, &DiagnosticsModel::hasDataChanged,
|
||||
@@ -98,7 +97,7 @@ CppcheckPluginPrivate::CppcheckPluginPrivate() :
|
||||
auto action = new QAction(this);
|
||||
action->setEnabled(false);
|
||||
action->setIcon(Utils::Icons::NEXT_TOOLBAR.icon());
|
||||
action->setToolTip(tr("Go to next diagnostic."));
|
||||
action->setToolTip(CppcheckPlugin::tr("Go to next diagnostic."));
|
||||
connect(action, &QAction::triggered,
|
||||
manualRunView, &Debugger::DetailedErrorView::goNext);
|
||||
connect (&manualRunModel, &DiagnosticsModel::hasDataChanged,
|
||||
@@ -111,7 +110,7 @@ CppcheckPluginPrivate::CppcheckPluginPrivate() :
|
||||
auto action = new QAction(this);
|
||||
action->setEnabled(false);
|
||||
action->setIcon(Utils::Icons::CLEAN_TOOLBAR.icon());
|
||||
action->setToolTip(tr("Clear"));
|
||||
action->setToolTip(CppcheckPlugin::tr("Clear"));
|
||||
connect(action, &QAction::triggered,
|
||||
&manualRunModel, &DiagnosticsModel::clear);
|
||||
connect (&manualRunModel, &DiagnosticsModel::hasDataChanged,
|
||||
|
||||
Reference in New Issue
Block a user