forked from qt-creator/qt-creator
debugger: re-connect 'executeDebuggerCommand'
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user