diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 5 | ||||
-rw-r--r-- | src/plugins/debugger/breakhandler.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 8199d4ab51..f4b528c50f 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -231,6 +231,11 @@ BreakHandler::BreakHandler(QObject *parent) { } +BreakHandler::~BreakHandler() +{ + clear(); +} + int BreakHandler::columnCount(const QModelIndex &parent) const { return parent.isValid() ? 0 : 6; diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index 4581e3a4de..95743f6df5 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -113,6 +113,7 @@ class BreakHandler : public QAbstractItemModel public: explicit BreakHandler(QObject *parent = 0); + ~BreakHandler(); void removeAllBreakpoints(); void setAllPending(); |