From 199dc3e99a8d7252aa4a092e12b2edf13c3134ba Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 20 Apr 2008 23:35:54 +0000 Subject: [PATCH] set global program icon via KAboutData, not directly svn path=/trunk/KDE/kdebase/apps/konsole/; revision=799282 --- src/Application.cpp | 3 --- src/main.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 3a3f2615f..32fc4fc29 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -32,7 +32,6 @@ // KDE #include #include -#include #include #include @@ -68,8 +67,6 @@ void Application::init() // check for compositing functionality TerminalDisplay::setTransparencyEnabled( KWindowSystem::compositingActive() ); - - setWindowIcon(KIcon("utilities-terminal")); } Application* Application::self() diff --git a/src/main.cpp b/src/main.cpp index 49df05411..f31054d7d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -191,7 +191,7 @@ void fillAboutData(KAboutData& aboutData) ki18n("Bug fixes"), "knoll@mpi-hd.mpg.de"); aboutData.addCredit(ki18n("Thanks to many others.\n")); - + aboutData.setProgramIconName("utilities-terminal"); } // code taken from the Qt 4 graphics dojo examples