diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-12-23 18:21:23 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-12-24 07:49:42 +0100 |
commit | bacf98c3e5cb2407a964286a43a629696a498abd (patch) | |
tree | ede126af1b3aad393586ba77a866cdf88bbeb88c /src/application.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-bacf98c3e5cb2407a964286a43a629696a498abd.tar.xz |
icon management fix/improvements/cleanup
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 8 |
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()) |