From b4e4832f5079746b631326893d8c6821d819caa9 Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Sun, 24 Apr 2022 14:52:31 -0400 Subject: [PATCH] Fix compilation failure introduced in 272d630. --- oscar/Graphs/gGraphView.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oscar/Graphs/gGraphView.h b/oscar/Graphs/gGraphView.h index 8952ee31..8f984c79 100644 --- a/oscar/Graphs/gGraphView.h +++ b/oscar/Graphs/gGraphView.h @@ -271,10 +271,12 @@ class gParentToolTip : public gToolTip public: gParentToolTip(gGraphView *graphview); ~gParentToolTip(); + using gToolTip::display; virtual void display(gGraphView* gv,QString text,int verticalOffset, int alignOffset , ToolTipAlignment align = TT_AlignCenter, int timeout = 0,QFont *font = defaultfont) ; virtual void cancel(); virtual bool visible(); virtual QRect calculateRect(QPainter &painter); + using gToolTip::paint; virtual void paint(QPainter &paint,int width,int height) ; private: int m_verticalOffset;