summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmimedata.cpp
diff options
context:
space:
mode:
authorAxel Waggershauser <awagger@gmail.com>2013-03-06 17:18:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-07 08:37:26 +0100
commit6b68be9587c6d6946faff34f88d80de53f11ed86 (patch)
treefdee479ee1136782b86322ef31edb147549cf47d /src/corelib/kernel/qmimedata.cpp
parent079e3b4f3ee3ebe225539b5a896fec1e38804e11 (diff)
Let QMetaObject::connectSlotsByName(o) also check for signals of o
QMetaObject::connectSlotsByName(QObject* o) creates a list of all children to look for signals that match slots of o. This changeset simply adds the object o itself to that list. The motivation is to finally fix the long standing QtCreator bug QTCREATORBUG-6494. Where executing 'Go to slot...' and choosing 'accepted()' for a simple QDialog named 'MyDialog' will add a on_MyDialog_accepted() slot to MyDialog. That slot never gets connected. More details may be found in the linked QTBUG-7595. Task-number: QTBUG-7595 Task-number: QTCREATORBUG-6494 Change-Id: I35f52761791af697eabb569adb5faee6fae50638 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib/kernel/qmimedata.cpp')
0 files changed, 0 insertions, 0 deletions