Commit e457992b authored by Laurent Montel's avatar Laurent Montel 😁

Disable context menu here

parent 0e1a00ad
......@@ -35,3 +35,8 @@ IntroductionWebEngineView::~IntroductionWebEngineView()
{
}
void IntroductionWebEngineView::contextMenuEvent(QContextMenuEvent *)
{
//Don't define contextmenu
}
......@@ -29,6 +29,9 @@ public:
explicit IntroductionWebEngineView(QWidget *parent = nullptr);
~IntroductionWebEngineView();
protected:
void contextMenuEvent(QContextMenuEvent *ev) Q_DECL_OVERRIDE;
Q_SIGNALS:
void openUrl(const QUrl &url);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment