forked from qt-creator/qt-creator
Correct capitalization in wizard template and example.
Change-Id: I9a42ea97407179911d1736ba1ca79402d51d24c5 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -41,7 +41,7 @@ bool ExamplePlugin::initialize(const QStringList &arguments, QString *errorStrin
|
||||
Q_UNUSED(errorString)
|
||||
|
||||
//! [add action]
|
||||
QAction *action = new QAction(tr("Example action"), this);
|
||||
QAction *action = new QAction(tr("Example Action"), this);
|
||||
Core::Command *cmd = Core::ActionManager::registerAction(action, Constants::ACTION_ID,
|
||||
Core::Context(Core::Constants::C_GLOBAL));
|
||||
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
|
||||
@@ -76,7 +76,7 @@ ExtensionSystem::IPlugin::ShutdownFlag ExamplePlugin::aboutToShutdown()
|
||||
void ExamplePlugin::triggerAction()
|
||||
{
|
||||
QMessageBox::information(Core::ICore::mainWindow(),
|
||||
tr("Action triggered"),
|
||||
tr("Action Triggered"),
|
||||
tr("This is an action from Example."));
|
||||
}
|
||||
//! [slot implementation]
|
||||
|
Reference in New Issue
Block a user