summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 5f66d80e..f5547fa2 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -678,10 +678,10 @@ void Application::updateConfiguration()
if (!mainWindow())
return;
- if (!ReKonfig::useFavicon())
- mainWindow()->setWindowIcon(KIcon("rekonq"));
- else
- mainWindow()->changeWindowIcon(mainWindow()->mainView()->currentIndex());
+ ReKonfig::useFavicon()
+ ? mainWindow()->changeWindowIcon(mainWindow()->mainView()->currentIndex())
+ : mainWindow()->setWindowIcon(KIcon("rekonq"))
+ ;
// hovering unfocused tabs options
switch (ReKonfig::hoveringTabOption())