these signals have gone

This commit is contained in:
Sebastian Kügler 2013-03-19 03:34:28 +01:00
parent 58537d36ed
commit f972925392

View File

@ -116,18 +116,6 @@ void DialogProxy::setMainItem(QQuickItem *mainItem)
if (mainItem->metaObject()->indexOfSignal("heightChanged")) {
connect(mainItem, SIGNAL(heightChanged()), m_syncTimer, SIGNAL(start()));
}
if (mainItem->metaObject()->indexOfSignal("minimumWidthChanged")) {
connect(mainItem, SIGNAL(minimumWidthChanged()), this, SIGNAL(minimumWidthChanged()));
}
if (mainItem->metaObject()->indexOfSignal("minimumHeightChanged")) {
connect(mainItem, SIGNAL(minimumHeightChanged()), this, SIGNAL(minimumHeightChanged()));
}
if (mainItem->metaObject()->indexOfSignal("maximumWidthChanged")) {
connect(mainItem, SIGNAL(maximumWidthChanged()), this, SIGNAL(maximumWidthChanged()));
}
if (mainItem->metaObject()->indexOfSignal("maximumHeightChanged")) {
connect(mainItem, SIGNAL(maximumHeightChanged()), this, SIGNAL(maximumHeightChanged()));
}
}
//if this is called in Compenent.onCompleted we have to wait a loop the item is added to a scene