forked from qt-creator/qt-creator
Debugger: Use Utils::TreeModel for watch window
The circle closes, that's where the code came from. Change-Id: Ic36ab61ec8886c9a2747aeb29a7245df3ef0b6c4 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
|
||||
#include "watchdata.h"
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
#include <utils/treemodel.h>
|
||||
|
||||
#include <QPointer>
|
||||
#include <QVector>
|
||||
|
||||
@@ -125,7 +126,7 @@ public:
|
||||
|
||||
typedef QHash<QString, QStringList> DumperTypeFormats; // Type name -> Dumper Formats
|
||||
|
||||
class WatchModelBase : public QAbstractItemModel
|
||||
class WatchModelBase : public Utils::TreeModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -189,7 +190,6 @@ public:
|
||||
|
||||
void scheduleResetLocation();
|
||||
void resetLocation();
|
||||
bool isValidToolTip(const QByteArray &iname) const;
|
||||
|
||||
void setCurrentItem(const QByteArray &iname);
|
||||
void updateWatchersWindow();
|
||||
|
||||
Reference in New Issue
Block a user