debugger: re-connect 'executeDebuggerCommand'

This commit is contained in:
hjk
2010-06-22 12:41:02 +02:00
parent ecff29be07
commit 9a3acd48e4
3 changed files with 13 additions and 6 deletions

View File

@@ -852,8 +852,8 @@ public slots:
void aboutToUnloadSession();
void aboutToSaveSession();
void watchPoint() { QTC_ASSERT(false, /**/); } // FIXME
void executeDebuggerCommand() { QTC_ASSERT(false, /**/); } // FIXME
void executeDebuggerCommand(QString const &) {}
void executeDebuggerCommand();
public:
DebuggerState m_state;
@@ -2311,6 +2311,12 @@ void DebuggerPluginPrivate::exitDebugger()
m_codeModelSnapshot = CPlusPlus::Snapshot();
}
void DebuggerPluginPrivate::executeDebuggerCommand()
{
if (QAction *action = qobject_cast<QAction *>(sender()))
notifyCurrentEngine(RequestExecuteCommandRole, action->data().toString());
}
///////////////////////////////////////////////////////////////////////
//