forked from qt-creator/qt-creator
Debugger: Make the BreakHandler a LeveledTreeModel
Change-Id: Idcf61d63318b8a1ab768b298f1b789de13ed91b2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
class LocationItem;
|
||||
class BreakpointItem;
|
||||
class BreakHandler;
|
||||
class DebuggerCommand;
|
||||
@@ -156,7 +157,7 @@ inline uint qHash(const Debugger::Internal::Breakpoint &b) { return b.hash(); }
|
||||
|
||||
typedef QList<Breakpoint> Breakpoints;
|
||||
|
||||
class BreakHandler : public Utils::TreeModel
|
||||
class BreakHandler : public Utils::LeveledTreeModel<BreakpointItem, LocationItem>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user