summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorFurkan Uzumcu <furkanuzumcu@gmail.com>2011-02-05 19:02:24 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-05 19:02:24 +0100
commita77d9a208119224a9793e676a6263eed49356ac9 (patch)
tree83a590c74be39bf0b0ced4ac1a88cc5d102212ff /src/application.cpp
parentfixuifiles (diff)
downloadrekonq-a77d9a208119224a9793e676a6263eed49356ac9.tar.xz
Added an option to show current website favicon as rekonq window icon
Reviewed by adjam
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 6f8cd8b2..5dd2909c 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -527,6 +527,10 @@ void Application::updateConfiguration()
// ====== load Settings on main classes
Application::historyManager()->loadSettings();
Application::adblockManager()->loadSettings();
+ if(!ReKonfig::useFavicon())
+ mainWindow()->setWindowIcon(KIcon("rekonq"));
+ else
+ mainWindow()->changeWindowIcon(mainWindow()->mainView()->currentIndex());
// hovering unfocused tabs options
switch(ReKonfig::hoveringTabOption())