From 4b527239aec04a5b10e9ae504deb1f85a59408ef Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 19 Dec 2024 15:46:42 +0000 Subject: [PATCH] Fix making QTreeView function public in RDTreeView --- qrenderdoc/Widgets/Extended/RDTreeView.h | 2 ++ qrenderdoc/Widgets/Extended/RDTreeWidget.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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);