Commit 830cbdeb authored by Laurent Montel's avatar Laurent Montel 😁

Explicit parent

parent 49cf7c0f
......@@ -47,9 +47,9 @@ SearchDialog::SearchDialog(QWidget *parent)
QGridLayout *layout = new QGridLayout;
mainLayout->addLayout(layout);
mainLayout->addWidget(buttonBox);
mName = new QLineEdit;
mName = new QLineEdit(this);
mName->setText(QStringLiteral("My Search"));
mEdit = new KTextEdit;
mEdit = new KTextEdit(this);
mEdit->setAcceptRichText(false);
mEdit->setWhatsThis(QStringLiteral("Enter a SparQL query here"));
......
......@@ -34,7 +34,7 @@ QuickSearchWidget::QuickSearchWidget(QWidget *parent)
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setMargin(0);
mEdit = new QLineEdit;
mEdit = new QLineEdit(this);
//If change shortcut changes it in mainwidget
mEdit->setClearButtonEnabled(true);
mEdit->setToolTip(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment