From ebd175ba86960eeafd064f22d630371b2fc6a594 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Sat, 9 Nov 2013 19:19:02 +0100 Subject: [PATCH] a --- src/gui/tabwidget.cpp | 2 ++ src/gui/webbrowser.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/tabwidget.cpp b/src/gui/tabwidget.cpp index cdec02af2..17a3dcd4c 100644 --- a/src/gui/tabwidget.cpp +++ b/src/gui/tabwidget.cpp @@ -191,6 +191,8 @@ int TabWidget::addBrowser(bool move_after_current, const QUrl &initial_url) { // Create new WebBrowser. WebBrowser *browser = new WebBrowser(this); + browser->setupIcons(); + int final_index; if (move_after_current) { diff --git a/src/gui/webbrowser.cpp b/src/gui/webbrowser.cpp index 12d7c5349..37ab3cefa 100644 --- a/src/gui/webbrowser.cpp +++ b/src/gui/webbrowser.cpp @@ -75,7 +75,9 @@ WebBrowser::WebBrowser(QWidget *parent) createConnections(); initializeZoomWidget(); - setupIcons(); + + // NOTE: Not needed here probably. + //setupIcons(); } void WebBrowser::initializeZoomWidget() {