diff --git a/qrenderdoc/Widgets/Extended/RDTreeView.h b/qrenderdoc/Widgets/Extended/RDTreeView.h index 3f8b4f7a01..748d087f93 100644 --- a/qrenderdoc/Widgets/Extended/RDTreeView.h +++ b/qrenderdoc/Widgets/Extended/RDTreeView.h @@ -178,6 +178,8 @@ class RDTreeView : public QTreeView using QTreeView::expandAll; using QTreeView::collapseAll; + using QTreeView::sizeHintForColumn; + signals: void leave(QEvent *e); void keyPress(QKeyEvent *e); diff --git a/qrenderdoc/Widgets/Extended/RDTreeWidget.h b/qrenderdoc/Widgets/Extended/RDTreeWidget.h index dc221819c0..6d9863d237 100644 --- a/qrenderdoc/Widgets/Extended/RDTreeWidget.h +++ b/qrenderdoc/Widgets/Extended/RDTreeWidget.h @@ -248,8 +248,6 @@ class RDTreeWidget : public RDTreeView void endUpdate(); void setColumnAlignment(int column, Qt::Alignment align); - int sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } - RDTreeWidgetItem *itemForIndex(QModelIndex idx) const; void copyItem(QPoint pos, RDTreeWidgetItem *item);