forked from qt-creator/qt-creator
Translations: Replace QCoreApplication::translate() with Tr::tr()
Calling <Module>::Tr::tr() is preferred over
QCoreApplication::translate("::<Module>", "..."). This changes
occurrences in .cpp files.
Change-Id: I3311ef0dbf3e7d105a3f181b6b988f3b444468f1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1063,19 +1063,19 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
|
||||
debugMenu->addSeparator();
|
||||
|
||||
act = new QAction(this);
|
||||
act->setText(QCoreApplication::translate("::Debugger", "Move to Calling Frame"));
|
||||
act->setText(Tr::tr("Move to Calling Frame"));
|
||||
act->setEnabled(false);
|
||||
act->setVisible(false);
|
||||
ActionManager::registerAction(act, Constants::FRAME_UP);
|
||||
|
||||
act = new QAction(this);
|
||||
act->setText(QCoreApplication::translate("::Debugger", "Move to Called Frame"));
|
||||
act->setText(Tr::tr("Move to Called Frame"));
|
||||
act->setEnabled(false);
|
||||
act->setVisible(false);
|
||||
ActionManager::registerAction(act, Constants::FRAME_DOWN);
|
||||
|
||||
act = new QAction(this);
|
||||
act->setText(QCoreApplication::translate("::Debugger", "Operate by Instruction"));
|
||||
act->setText(Tr::tr("Operate by Instruction"));
|
||||
act->setEnabled(false);
|
||||
act->setVisible(false);
|
||||
act->setCheckable(true);
|
||||
|
||||
Reference in New Issue
Block a user