Sfoglia il codice sorgente

LibGUI: Make TableView::move_cursor() public

It was already public in the base class, so hiding it here was just
a mistake.
Andreas Kling 5 anni fa
parent
commit
70d3dd5b87
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Libraries/LibGUI/TableView.h

+ 2 - 2
Libraries/LibGUI/TableView.h

@@ -53,11 +53,11 @@ public:
     CursorStyle cursor_style() const { return m_cursor_style; }
     void set_cursor_style(CursorStyle);
 
+    virtual void move_cursor(CursorMovement, SelectionUpdate) override;
+
 protected:
     TableView();
 
-    virtual void move_cursor(CursorMovement, SelectionUpdate) override;
-
     virtual void keydown_event(KeyEvent&) override;
     virtual void paint_event(PaintEvent&) override;