--- a/demos/embedded/anomaly/src/AddressBar.cpp Mon Mar 15 12:43:09 2010 +0200
+++ b/demos/embedded/anomaly/src/AddressBar.cpp Thu Apr 08 14:19:33 2010 +0300
@@ -64,9 +64,9 @@
AddressBar::AddressBar(QWidget *parent)
: QWidget(parent)
{
- m_lineEdit = new LineEdit(this);
+ m_lineEdit = new LineEdit(parent);
connect(m_lineEdit, SIGNAL(returnPressed()), SLOT(processAddress()));
- m_toolButton = new QToolButton(this);
+ m_toolButton = new QToolButton(parent);
m_toolButton->setText("Go");
connect(m_toolButton, SIGNAL(clicked()), SLOT(processAddress()));
}