Do not force to show the webview on construct

Should fix #458

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-07-02 20:09:30 +02:00
parent 93c6576bcb
commit 34d964fc80
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -54,7 +54,6 @@ WebView::WebView(QWidget *parent)
_webview->setPage(_page);
_ui.verticalLayout->addWidget(_webview);
_webview->show();
connect(_webview, &QWebEngineView::loadProgress, _ui.progressBar, &QProgressBar::setValue);
connect(_schemeHandler, &WebViewPageUrlSchemeHandler::urlCatched, this, &WebView::urlCatched);