forked from qt-creator/qt-creator
QmlDesigner: Remove qDebugs
Change-Id: Iab635145cb2cde87c8d229983e1436910e90f0e4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -64,7 +64,6 @@ void LayoutNodeInstance::setPropertyBinding(const PropertyName &name, const QStr
|
|||||||
|
|
||||||
LayoutNodeInstance::Pointer LayoutNodeInstance::create(QObject *object)
|
LayoutNodeInstance::Pointer LayoutNodeInstance::create(QObject *object)
|
||||||
{
|
{
|
||||||
qDebug() << "layout" << object;
|
|
||||||
QQuickItem *item = qobject_cast<QQuickItem*>(object);
|
QQuickItem *item = qobject_cast<QQuickItem*>(object);
|
||||||
|
|
||||||
Q_ASSERT(item);
|
Q_ASSERT(item);
|
||||||
@@ -83,10 +82,8 @@ LayoutNodeInstance::Pointer LayoutNodeInstance::create(QObject *object)
|
|||||||
|
|
||||||
void LayoutNodeInstance::refreshLayoutable()
|
void LayoutNodeInstance::refreshLayoutable()
|
||||||
{
|
{
|
||||||
qDebug() << "before";
|
|
||||||
if (quickItem()->parent())
|
if (quickItem()->parent())
|
||||||
QCoreApplication::postEvent(quickItem(), new QEvent(QEvent::LayoutRequest));
|
QCoreApplication::postEvent(quickItem(), new QEvent(QEvent::LayoutRequest));
|
||||||
qDebug() << "refresh";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user