return the correct mainItem()

This commit is contained in:
Marco Martin 2011-06-06 17:33:02 +02:00
parent ccdb4cebdf
commit 90ecc73536

View File

@ -44,7 +44,7 @@ DialogProxy::~DialogProxy()
QGraphicsObject *DialogProxy::mainItem() const
{
return m_dialog->graphicsWidget();
return m_mainItem.data();
}
void DialogProxy::setMainItem(QGraphicsObject *mainItem)