mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-19 06:29:10 +03:00
remove mDelegateCol because it is already set to 0 in the header
This commit is contained in:
parent
d54bb20253
commit
1bad8fa305
@ -44,7 +44,7 @@ const QString kLabelFmt = "<p style='color: gray; font-weight: bold'>%1</p>";
|
||||
} // namespace
|
||||
|
||||
TreeView::TreeView(QWidget *parent, const QString &name)
|
||||
: QTreeView(parent), mDelegateCol(0),
|
||||
: QTreeView(parent),
|
||||
mFileListDelegatePtr(std::make_unique<ViewDelegate>(this, true)),
|
||||
mFileTreeDelegatePtr(std::make_unique<ViewDelegate>(this)), mName(name) {
|
||||
setObjectName(name);
|
||||
|
@ -103,7 +103,7 @@ private:
|
||||
QString mName;
|
||||
std::unique_ptr<ViewDelegate> mFileListDelegatePtr;
|
||||
std::unique_ptr<ViewDelegate> mFileTreeDelegatePtr;
|
||||
int mDelegateCol = 0;
|
||||
int mDelegateCol{false};
|
||||
};
|
||||
|
||||
#endif // TREEVIEW_H
|
||||
|
Loading…
Reference in New Issue
Block a user