forked from qt-creator/qt-creator
Id: Add QByteArray constructor
Distinguish from const char * one. QString ctor is yet to be removed Change-Id: I2da231036c6417353b0566d39666d918ad141c6d Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f31da9ac55
commit
7c4e2b6c60
@@ -463,12 +463,12 @@ static QToolButton *toolButton(QAction *action)
|
||||
return button;
|
||||
}
|
||||
|
||||
static void setProxyAction(ProxyAction *proxy, const char *id)
|
||||
static void setProxyAction(ProxyAction *proxy, Core::Id id)
|
||||
{
|
||||
proxy->setAction(ActionManager::command(id)->action());
|
||||
}
|
||||
|
||||
static QToolButton *toolButton(const char *id)
|
||||
static QToolButton *toolButton(Core::Id id)
|
||||
{
|
||||
return toolButton(ActionManager::command(id)->action());
|
||||
}
|
||||
@@ -1562,7 +1562,7 @@ void DebuggerPluginPrivate::onCurrentProjectChanged(Project *project)
|
||||
m_exitAction->setEnabled(false);
|
||||
m_startAction->setEnabled(true);
|
||||
m_debugWithoutDeployAction->setEnabled(true);
|
||||
setProxyAction(m_visibleStartAction, Constants::DEBUG);
|
||||
setProxyAction(m_visibleStartAction, Core::Id(Constants::DEBUG));
|
||||
}
|
||||
|
||||
void DebuggerPluginPrivate::languagesChanged()
|
||||
@@ -2233,7 +2233,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|
||||
m_exitAction->setEnabled(false);
|
||||
m_startAction->setEnabled(true);
|
||||
m_debugWithoutDeployAction->setEnabled(true);
|
||||
setProxyAction(m_visibleStartAction, Constants::DEBUG);
|
||||
setProxyAction(m_visibleStartAction, Core::Id(Constants::DEBUG));
|
||||
m_hiddenStopAction->setAction(m_undisturbableAction);
|
||||
} else if (state == InferiorStopOk) {
|
||||
// F5 continues, Shift-F5 kills. It is "continuable".
|
||||
@@ -2242,7 +2242,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|
||||
m_exitAction->setEnabled(true);
|
||||
m_startAction->setEnabled(false);
|
||||
m_debugWithoutDeployAction->setEnabled(false);
|
||||
setProxyAction(m_visibleStartAction, Constants::CONTINUE);
|
||||
setProxyAction(m_visibleStartAction, Core::Id(Constants::CONTINUE));
|
||||
m_hiddenStopAction->setAction(m_exitAction);
|
||||
m_localsAndExpressionsWindow->setShowLocals(true);
|
||||
} else if (state == InferiorRunOk) {
|
||||
@@ -2252,7 +2252,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|
||||
m_exitAction->setEnabled(true);
|
||||
m_startAction->setEnabled(false);
|
||||
m_debugWithoutDeployAction->setEnabled(false);
|
||||
setProxyAction(m_visibleStartAction, Constants::INTERRUPT);
|
||||
setProxyAction(m_visibleStartAction, Core::Id(Constants::INTERRUPT));
|
||||
m_hiddenStopAction->setAction(m_interruptAction);
|
||||
m_localsAndExpressionsWindow->setShowLocals(false);
|
||||
} else if (state == DebuggerFinished) {
|
||||
@@ -2262,7 +2262,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|
||||
m_exitAction->setEnabled(false);
|
||||
m_startAction->setEnabled(true);
|
||||
m_debugWithoutDeployAction->setEnabled(true);
|
||||
setProxyAction(m_visibleStartAction, Constants::DEBUG);
|
||||
setProxyAction(m_visibleStartAction, Core::Id(Constants::DEBUG));
|
||||
m_hiddenStopAction->setAction(m_undisturbableAction);
|
||||
m_codeModelSnapshot = CPlusPlus::Snapshot();
|
||||
setBusyCursor(false);
|
||||
|
||||
Reference in New Issue
Block a user