diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-09-27 10:51:08 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-09-27 10:51:08 +0200 |
commit | 82e694b7daa47e7a5333bd8b26ee83e4ad2425a8 (patch) | |
tree | 5915fbe0361bfd8f281c5d09a39c90402cf9d80e /src/urlbar/webshortcutwidget.cpp | |
parent | Fix KGet "list all links" feature (diff) | |
download | rekonq-82e694b7daa47e7a5333bd8b26ee83e4ad2425a8.tar.xz |
Calm down QWidget::setLayout() warnings
Diffstat (limited to 'src/urlbar/webshortcutwidget.cpp')
-rw-r--r-- | src/urlbar/webshortcutwidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/urlbar/webshortcutwidget.cpp b/src/urlbar/webshortcutwidget.cpp index 247c7db8..6fe22fbb 100644 --- a/src/urlbar/webshortcutwidget.cpp +++ b/src/urlbar/webshortcutwidget.cpp @@ -52,7 +52,7 @@ WebShortcutWidget::WebShortcutWidget(QWidget *parent) setFixedWidth(350); QFormLayout *layout = new QFormLayout(this); - QVBoxLayout *vLay = new QVBoxLayout(this); + QVBoxLayout *vLay = new QVBoxLayout; // Web Search Icon QLabel *webSearchIcon = new QLabel(this); @@ -84,8 +84,6 @@ WebShortcutWidget::WebShortcutWidget(QWidget *parent) connect(buttonBox, SIGNAL(rejected()), this, SLOT(close())); layout->addWidget(buttonBox); - setLayout(layout); - m_providers = KServiceTypeTrader::self()->query("SearchProvider"); m_wsLineEdit->setFocus(); |