debugger: handle shutting down engines from SnapshotWindow <Del> or context menu

This commit is contained in:
hjk
2010-07-20 18:06:34 +02:00
parent cc131beb61
commit 8d54298c8e
6 changed files with 21 additions and 38 deletions

View File

@@ -38,11 +38,9 @@
namespace Debugger {
class DebuggerRunControl;
class DebuggerStartParameters;
namespace Internal {
class SessionEngine;
class DebuggerEngine;
@@ -58,7 +56,7 @@ class SnapshotHandler : public QAbstractTableModel
Q_OBJECT
public:
explicit SnapshotHandler(SessionEngine *engine);
explicit SnapshotHandler();
~SnapshotHandler();
// Called from SnapshotHandler after a new snapshot has been added
@@ -82,7 +80,6 @@ private:
DebuggerEngine *engineAt(int i) const;
void removeSnapshot(int index);
SessionEngine *m_engine;
int m_currentIndex;
QList< QPointer<DebuggerRunControl> > m_snapshots;
const QVariant m_positionIcon;