summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-10-05 13:12:56 +0200
committerhjk <qtc-committer@nokia.com>2010-10-05 13:54:48 +0200
commit6d371f40546c7e20d4211abd722df2f5598f810f (patch)
treedf9777ba6eeff099529efd9dd6ac38e987fc5575 /src/plugins/debugger/debuggerplugin.cpp
parentda5b3b6d2f75f51269e24546598637a3b9303d2d (diff)
downloadqt-creator-6d371f40546c7e20d4211abd722df2f5598f810f.tar.gz
debugger: don't make actions more dynamic then they need to be
done with con
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index eaabf38fba..c3ffb668f3 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1435,28 +1435,21 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, QString *er
cmd = am->registerAction(m_actions.stopAction,
Constants::STOP, globalcontext);
- cmd->setAttribute(Command::CA_UpdateText);
- cmd->setAttribute(Command::CA_UpdateIcon);
//cmd->setDefaultKeySequence(QKeySequence(Constants::STOP_KEY));
cmd->setDefaultText(tr("Stop Debugger"));
m_uiSwitcher->addMenuAction(cmd, AnyLanguage, CC::G_DEFAULT_ONE);
cmd = am->registerAction(m_actions.interruptAction,
PE::DEBUG, m_interruptibleContext);
- cmd->setAttribute(Command::CA_UpdateText);
- cmd->setAttribute(Command::CA_UpdateIcon);
cmd->setDefaultKeySequence(QKeySequence(Constants::STOP_KEY));
cmd->setDefaultText(tr("Interrupt Debugger"));
cmd = am->registerAction(m_actions.undisturbableAction,
PE::DEBUG, m_undisturbableContext);
- cmd->setAttribute(Command::CA_UpdateText);
- cmd->setAttribute(Command::CA_UpdateIcon);
cmd->setDefaultText(tr("Debugger is Busy"));
cmd = am->registerAction(m_actions.resetAction,
Constants::RESET, globalcontext);
- cmd->setAttribute(Core::Command::CA_UpdateText);
//cmd->setDefaultKeySequence(QKeySequence(Constants::RESET_KEY));
cmd->setDefaultText(tr("Reset Debugger"));
m_uiSwitcher->addMenuAction(cmd, AnyLanguage, CC::G_DEFAULT_ONE);