Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kontact
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
Kontact
Commits
e457992b
Commit
e457992b
authored
Jun 21, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable context menu here
parent
0e1a00ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/webengine/introductionwebengineview.cpp
src/webengine/introductionwebengineview.cpp
+5
-0
src/webengine/introductionwebengineview.h
src/webengine/introductionwebengineview.h
+3
-0
No files found.
src/webengine/introductionwebengineview.cpp
View file @
e457992b
...
...
@@ -35,3 +35,8 @@ IntroductionWebEngineView::~IntroductionWebEngineView()
{
}
void
IntroductionWebEngineView
::
contextMenuEvent
(
QContextMenuEvent
*
)
{
//Don't define contextmenu
}
src/webengine/introductionwebengineview.h
View file @
e457992b
...
...
@@ -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
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment