summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-12-04 13:31:11 +0200
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-12-07 11:26:10 +0000
commitcf0fd70854c43f6a2eb80d53cde0451d0c8e545c (patch)
tree65c7757cd536d7ef2cfbf261a886dbc4563ee305 /src
parent2c5dc6bf570fb85be3a2c086d75e825c513e4461 (diff)
Fix QCamera projectionTypeChanged signal connection
The signal was incorrectly connected to projectionMatrixChanged signal. Change-Id: I4f28be927d53263da2a1f8954b7295258f53a0db Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/core-components/qcamera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core-components/qcamera.cpp b/src/core/core-components/qcamera.cpp
index bfbe90d26..c26d9b67b 100644
--- a/src/core/core-components/qcamera.cpp
+++ b/src/core/core-components/qcamera.cpp
@@ -68,7 +68,7 @@ QCameraPrivate::QCameraPrivate()
QCamera::QCamera(QNode *parent)
: QEntity(*new QCameraPrivate, parent)
{
- QObject::connect(d_func()->m_lens, SIGNAL(projectionTypeChanged()), this, SIGNAL(projectionMatrixChanged()));
+ QObject::connect(d_func()->m_lens, SIGNAL(projectionTypeChanged()), this, SIGNAL(projectionTypeChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(nearPlaneChanged()), this, SIGNAL(nearPlaneChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(farPlaneChanged()), this, SIGNAL(farPlaneChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(fieldOfViewChanged()), this, SIGNAL(fieldOfViewChanged()));
@@ -92,7 +92,7 @@ QCamera::~QCamera()
QCamera::QCamera(QCameraPrivate &dd, QNode *parent)
: QEntity(dd, parent)
{
- QObject::connect(d_func()->m_lens, SIGNAL(projectionTypeChanged()), this, SIGNAL(projectionMatrixChanged()));
+ QObject::connect(d_func()->m_lens, SIGNAL(projectionTypeChanged()), this, SIGNAL(projectionTypeChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(nearPlaneChanged()), this, SIGNAL(nearPlaneChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(farPlaneChanged()), this, SIGNAL(farPlaneChanged()));
QObject::connect(d_func()->m_lens, SIGNAL(fieldOfViewChanged()), this, SIGNAL(fieldOfViewChanged()));