From ab0c34359d56285af592b0f2fb74302a568a2753 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/; revision=799282 --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 28a69390f..a080541d9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -62,6 +61,7 @@ int main(int argc, char **argv) about.addAuthor(ki18nc("@info:credit", "Michael Austin"), ki18nc("@info:credit", "Documentation"), "tuxedup@users.sourceforge.net"); + about.setProgramIconName("system-file-manager"); KCmdLineArgs::init(argc, argv, &about); @@ -76,7 +76,6 @@ int main(int argc, char **argv) DolphinApplication app; // the .desktop file is not taken into account when launching manually, so // set the icon precautionally: - QApplication::setWindowIcon(KIcon("system-file-manager")); KGlobal::locale()->insertCatalog("libkonq"); // needed for applications using libkonq if (app.isSessionRestored()) { -- 2.47.3