diff options
Diffstat (limited to 'src/widgets/itemviews/qtreeview_p.h')
-rw-r--r-- | src/widgets/itemviews/qtreeview_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtreeview_p.h b/src/widgets/itemviews/qtreeview_p.h index 5d6333e856..c44d6d7ced 100644 --- a/src/widgets/itemviews/qtreeview_p.h +++ b/src/widgets/itemviews/qtreeview_p.h @@ -89,7 +89,7 @@ public: uniformRowHeights(false), rootDecoration(true), itemsExpandable(true), sortingEnabled(false), expandsOnDoubleClick(true), - allColumnsShowFocus(false), current(0), spanning(false), + allColumnsShowFocus(false), customIndent(false), current(0), spanning(false), animationsEnabled(false), columnResizeTimerID(0), autoExpandDelay(-1), hoverBranch(-1), geometryRecursionBlock(false), hasRemovedItems(false), treePosition(0) {} @@ -191,6 +191,7 @@ public: bool sortingEnabled; bool expandsOnDoubleClick; bool allColumnsShowFocus; + bool customIndent; // used for drawing mutable QPair<int,int> leftAndRight; @@ -241,6 +242,8 @@ public: int accessibleTree2Index(const QModelIndex &index) const; + void updateIndentationFromStyle(); + // used for spanning rows QVector<QPersistentModelIndex> spanningIndexes; |