Use anonymous namespace for constants
This commit is contained in:
@@ -39,8 +39,6 @@ class AutoExpandingTreeView : public QTreeView {
|
||||
public:
|
||||
explicit AutoExpandingTreeView(QWidget *parent = nullptr);
|
||||
|
||||
static const int kRowsToShow;
|
||||
|
||||
void SetAutoOpen(bool v) { auto_open_ = v; }
|
||||
void SetExpandOnReset(bool v) { expand_on_reset_ = v; }
|
||||
void SetAddOnDoubleClick(bool v) { add_on_double_click_ = v; }
|
||||
|
||||
Reference in New Issue
Block a user