Skip to content

Commit

Permalink
Fix making QTreeView function public in RDTreeView
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Dec 19, 2024
1 parent c9a621a commit 4b52723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions qrenderdoc/Widgets/Extended/RDTreeView.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions qrenderdoc/Widgets/Extended/RDTreeWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4b52723

Please sign in to comment.