diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-01-23 19:04:05 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-23 19:04:05 +0100 |
commit | facc2f92fe73d4e925510fcb2936483798efba6a (patch) | |
tree | 6e01c451eb3c84a6b6b0978c7a870c7df0bbb966 /src/webwindow | |
parent | Remove double "rekonq - rekonq" from title (diff) | |
download | rekonq-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.cpp | 1 | ||||
-rw-r--r-- | src/webwindow/webwindow.h | 3 |
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); |