summaryrefslogtreecommitdiffstats
path: root/src/statemachine/qsignaltransition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statemachine/qsignaltransition.cpp')
-rw-r--r--src/statemachine/qsignaltransition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statemachine/qsignaltransition.cpp b/src/statemachine/qsignaltransition.cpp
index bdfa166..ff60a66 100644
--- a/src/statemachine/qsignaltransition.cpp
+++ b/src/statemachine/qsignaltransition.cpp
@@ -169,10 +169,10 @@ QSignalTransition::~QSignalTransition()
/*!
Returns the sender object associated with this signal transition.
*/
-QObject *QSignalTransition::senderObject() const
+const QObject *QSignalTransition::senderObject() const
{
Q_D(const QSignalTransition);
- return const_cast<QObject *>(d->sender);
+ return d->sender;
}
/*!