summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-23 19:04:05 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-23 19:04:05 +0100
commitfacc2f92fe73d4e925510fcb2936483798efba6a (patch)
tree6e01c451eb3c84a6b6b0978c7a870c7df0bbb966 /src/webwindow
parentRemove double "rekonq - rekonq" from title (diff)
downloadrekonq-facc2f92fe73d4e925510fcb2936483798efba6a.tar.xz
Improve icon management code
In the 1.x way, IconManager notified all the tabs about icons changed. This way, just the interested tab is :)
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.cpp1
-rw-r--r--src/webwindow/webwindow.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index 33cb6142..73543374 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -122,6 +122,7 @@ WebWindow::WebWindow(QWidget *parent, bool isPrivateBrowsing, WebPage *pg)
// things changed signals
connect(_tab->view(), SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged(QString)));
+ connect(_tab->view(), SIGNAL(iconChanged()), this, SIGNAL(iconChanged()));
// check view signals
connect(_tab->view(), SIGNAL(loadStarted()), this, SLOT(webLoadStarted()));
diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h
index e8e77dd7..de927305 100644
--- a/src/webwindow/webwindow.h
+++ b/src/webwindow/webwindow.h
@@ -145,7 +145,8 @@ private Q_SLOTS:
Q_SIGNALS:
void titleChanged(QString);
-
+ void iconChanged();
+
void loadStarted();
void loadProgress(int);
void loadFinished(bool);