forked from qt-creator/qt-creator
Valgrind: Use BaseTreeView instead of QTreeView
Change-Id: Ica796ba3d45b97fb5ed0856acb0860f15d45be56 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -32,12 +32,12 @@
|
||||
|
||||
#include "callgrindcostdelegate.h"
|
||||
|
||||
#include <QTreeView>
|
||||
#include <utils/basetreeview.h>
|
||||
|
||||
namespace Valgrind {
|
||||
namespace Internal {
|
||||
|
||||
class CostView : public QTreeView
|
||||
class CostView : public Utils::BaseTreeView
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -57,6 +57,8 @@ public:
|
||||
void setCostFormat(CostDelegate::CostFormat format);
|
||||
CostDelegate::CostFormat costFormat() const;
|
||||
|
||||
void contextMenuEvent(QContextMenuEvent *ev);
|
||||
|
||||
private:
|
||||
class Private;
|
||||
Private *d;
|
||||
|
||||
Reference in New Issue
Block a user