Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Office
Calligra
Commits
10b83ffd
Commit
10b83ffd
authored
Dec 31, 2012
by
C. Boemann
Browse files
Time to implement a fix for an old bug
Happy new year BUG: 260022
parent
cfb02531
Changes
2
Hide whitespace changes
Inline
Side-by-side
words/part/KWCanvas.cpp
View file @
10b83ffd
...
...
@@ -85,6 +85,11 @@ QPointF KWCanvas::viewToDocument(const QPointF &viewPoint) const
return
m_viewMode
->
viewToDocument
(
viewPoint
,
m_viewConverter
);
}
void
KWCanvas
::
contextMenuEvent
(
QContextMenuEvent
*
e
)
{
m_view
->
popupContextMenu
(
e
->
globalPos
(),
m_toolProxy
->
popupActionList
());
e
->
setAccepted
(
true
);
}
void
KWCanvas
::
mouseMoveEvent
(
QMouseEvent
*
e
)
{
...
...
words/part/KWCanvas.h
View file @
10b83ffd
...
...
@@ -107,6 +107,8 @@ protected: // QWidget
/// reimplemented method from superclass
virtual
void
keyPressEvent
(
QKeyEvent
*
e
);
/// reimplemented method from superclass
virtual
void
contextMenuEvent
(
QContextMenuEvent
*
e
);
/// reimplemented method from superclass
virtual
void
mouseMoveEvent
(
QMouseEvent
*
e
);
/// reimplemented method from superclass
virtual
void
mousePressEvent
(
QMouseEvent
*
e
);
...
...
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