Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6ccbb3e2 authored by Laurent Montel's avatar Laurent Montel 😁

Add parent directly

parent 4ae4d754
......@@ -27,8 +27,7 @@
ShortUrlMainWidgetNg::ShortUrlMainWidgetNg(QWidget *parent)
: QWidget(parent)
{
QVBoxLayout *lay = new QVBoxLayout;
setLayout(lay);
QVBoxLayout *lay = new QVBoxLayout(this);
mConfigWidget = new ShortUrlConfigureWidget;
lay->addWidget(mConfigWidget);
......
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