aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmleasing/splineeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmleasing/splineeditor.h')
-rw-r--r--tools/qmleasing/splineeditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmleasing/splineeditor.h b/tools/qmleasing/splineeditor.h
index 595580bba2..4b9da14a7a 100644
--- a/tools/qmleasing/splineeditor.h
+++ b/tools/qmleasing/splineeditor.h
@@ -84,7 +84,9 @@ protected:
void mousePressEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *);
+#ifndef QT_NO_CONTEXTMENU
void contextMenuEvent(QContextMenuEvent *);
+#endif // QT_NO_CONTEXTMENU
void invalidate();
void invalidateSmoothList();