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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmleasing/splineeditor.h b/tools/qmleasing/splineeditor.h
index 243e199cd0..414b787bc3 100644
--- a/tools/qmleasing/splineeditor.h
+++ b/tools/qmleasing/splineeditor.h
@@ -79,9 +79,9 @@ protected:
void mousePressEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *);
-#ifndef QT_NO_CONTEXTMENU
+#if QT_CONFIG(contextmenu)
void contextMenuEvent(QContextMenuEvent *);
-#endif // QT_NO_CONTEXTMENU
+#endif // contextmenu
void invalidate();
void invalidateSmoothList();