summaryrefslogtreecommitdiff
path: root/src/urlbar/sslwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-09-27 10:51:08 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-09-27 10:51:08 +0200
commit82e694b7daa47e7a5333bd8b26ee83e4ad2425a8 (patch)
tree5915fbe0361bfd8f281c5d09a39c90402cf9d80e /src/urlbar/sslwidget.cpp
parentFix KGet "list all links" feature (diff)
downloadrekonq-82e694b7daa47e7a5333bd8b26ee83e4ad2425a8.tar.xz
Calm down QWidget::setLayout() warnings
Diffstat (limited to 'src/urlbar/sslwidget.cpp')
-rw-r--r--src/urlbar/sslwidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/urlbar/sslwidget.cpp b/src/urlbar/sslwidget.cpp
index 1366d5cc..525df7a1 100644
--- a/src/urlbar/sslwidget.cpp
+++ b/src/urlbar/sslwidget.cpp
@@ -58,6 +58,7 @@ SSLWidget::SSLWidget(const QUrl &url, const WebSslInfo &info, QWidget *parent)
QStringList firstCertErrorList;
if (!certErrorList.isEmpty())
firstCertErrorList = certErrorList.first();
+
QGridLayout *layout = new QGridLayout(this);
QLabel *label;
@@ -220,8 +221,6 @@ SSLWidget::SSLWidget(const QUrl &url, const WebSslInfo &info, QWidget *parent)
}
layout->addWidget(label, rows++, 1);
- // -----------------------------------------------------------------------------------
- setLayout(layout);
}