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() {