diff options
Diffstat (limited to 'src/input/frontend/qaxis.cpp')
-rw-r--r-- | src/input/frontend/qaxis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qaxis.cpp b/src/input/frontend/qaxis.cpp index 22b3c13a9..3dc0167df 100644 --- a/src/input/frontend/qaxis.cpp +++ b/src/input/frontend/qaxis.cpp @@ -44,7 +44,7 @@ QAxis::QAxis(Qt3DCore::QNode *parent) : Qt3DCore::QNode(*new QAxisPrivate(), parent) { Q_D(QAxis); - connect(this, &QAxis::enabledChanged, [d]() { + connect(this, &QAxis::enabledChanged, this, [d]() { d->setValue(0.); }); } @@ -120,7 +120,7 @@ QList<QAbstractAxisInput *> QAxis::inputs() const } /*! - \property QAxis::value + \property Qt3DInput::QAxis::value The value of the axis. */ |