diff options
| author | Josh Ferrell <josh@vector35.com> | 2023-01-16 17:12:30 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2023-01-16 17:12:30 -0500 |
| commit | ac44c4740082a1a9f1f55ad0bb9dc4f729b0e816 (patch) | |
| tree | 337d78d15746df29bbcf91ffbe97672023329f0e /ui/linearview.h | |
| parent | 174fc0e1529981baf39bf6f5f0a92f25be39215f (diff) | |
Make parameter order more consistent across linear view, do not clobber QWidget::update
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index bffc21fb..9b93c546 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -116,7 +116,6 @@ class LinearView; class StickyHeader: public QWidget { RenderContext m_render; - LinearView* m_parent; BinaryViewRef m_data; uint64_t m_gutterWidth; @@ -124,9 +123,9 @@ class StickyHeader: public QWidget LinearViewLine m_line; public: - StickyHeader(LinearView* parent, BinaryViewRef data); + StickyHeader(BinaryViewRef data, LinearView* parent); - void update(const LinearViewLine& line); + void updateLine(const LinearViewLine& line); void updateFonts(); virtual void paintEvent(QPaintEvent* event) override; |
