forked from qt-creator/qt-creator
Fix small leak on exit.
I am not even sure we should do that.
This commit is contained in:
@@ -231,6 +231,11 @@ BreakHandler::BreakHandler(QObject *parent)
|
||||
{
|
||||
}
|
||||
|
||||
BreakHandler::~BreakHandler()
|
||||
{
|
||||
clear();
|
||||
}
|
||||
|
||||
int BreakHandler::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
return parent.isValid() ? 0 : 6;
|
||||
|
||||
@@ -113,6 +113,7 @@ class BreakHandler : public QAbstractItemModel
|
||||
|
||||
public:
|
||||
explicit BreakHandler(QObject *parent = 0);
|
||||
~BreakHandler();
|
||||
|
||||
void removeAllBreakpoints();
|
||||
void setAllPending();
|
||||
|
||||
Reference in New Issue
Block a user