diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-04 16:50:53 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-04 16:58:11 (GMT) |
commit | 3b7e0cad481ca3a71f27259352ed0fd335150ba2 (patch) | |
tree | d1af74c1adbd16acc722902f96e67f61f56ad476 /src/corelib | |
parent | 7527392f639903a42471d914528b25b13f0cde98 (diff) | |
download | Qt-3b7e0cad481ca3a71f27259352ed0fd335150ba2.zip Qt-3b7e0cad481ca3a71f27259352ed0fd335150ba2.tar.gz Qt-3b7e0cad481ca3a71f27259352ed0fd335150ba2.tar.bz2 |
Fix QMetaObject::indexOfSlot
The wrong offset was added
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index 4bf4290..f0426f5 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -652,7 +652,7 @@ int QMetaObject::indexOfSlot(const char *slot) const if (i < 0) i = QMetaObjectPrivate::indexOfSlotRelative(&m, slot, true); if (i >= 0) - i += methodOffset(); + i += m->methodOffset(); return i; } |