summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-04 11:46:14 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-01-04 11:46:14 (GMT)
commit0e4c54809a8195a199d85b143e042b0f5e53fb4c (patch)
tree25dc32bced8049c5571ae68ecc1ecd4dbe5b0535 /src
parentc855c61ed5c80a97f3a2858a15453f9e041db7f8 (diff)
downloadQt-0e4c54809a8195a199d85b143e042b0f5e53fb4c.zip
Qt-0e4c54809a8195a199d85b143e042b0f5e53fb4c.tar.gz
Qt-0e4c54809a8195a199d85b143e042b0f5e53fb4c.tar.bz2
doc: Removed a const from a declaration in the example.
Task-number: QTBUG-7092
Diffstat (limited to 'src')
-rw-r--r--src/corelib/statemachine/qsignaltransition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/statemachine/qsignaltransition.cpp b/src/corelib/statemachine/qsignaltransition.cpp
index f55f634..d35c12e 100644
--- a/src/corelib/statemachine/qsignaltransition.cpp
+++ b/src/corelib/statemachine/qsignaltransition.cpp
@@ -76,7 +76,7 @@ QT_BEGIN_NAMESPACE
CheckedTransition(QCheckBox *check)
: QSignalTransition(check, SIGNAL(stateChanged(int))) {}
protected:
- bool eventTest(QEvent *e) const {
+ bool eventTest(QEvent *e) {
if (!QSignalTransition::eventTest(e))
return false;
QStateMachine::SignalEvent *se = static_cast<QStateMachine::SignalEvent*>(e);