--- a/src/hbcore/gui/hbdialog.cpp Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbcore/gui/hbdialog.cpp Tue Jul 06 14:36:53 2010 +0300
@@ -177,7 +177,6 @@
{
Q_D(HbDialog);
d->q_ptr = this;
- d->init();
d->timeout = HbPopupPrivate::timeoutValue(HbPopup::NoTimeout);
}
@@ -189,7 +188,6 @@
{
Q_D(HbDialog);
d->q_ptr = this;
- d->init();
d->timeout = HbPopupPrivate::timeoutValue(HbPopup::NoTimeout);
}
@@ -259,12 +257,13 @@
return;
if (d->contentWidget)
delete d->contentWidget;
+ prepareGeometryChange(); // needed to paint screen properly
d->contentWidget = contentWidget;
if (contentWidget) {
contentWidget->setParentItem(this);
HbStyle::setItemName(contentWidget,"content");
}
- repolish();
+ repolish();
}
/*!