diff options
| author | Friedrich W. H. Kossebau <[email protected]> | 2008-04-20 23:35:54 +0000 |
|---|---|---|
| committer | Friedrich W. H. Kossebau <[email protected]> | 2008-04-20 23:35:54 +0000 |
| commit | ab0c34359d56285af592b0f2fb74302a568a2753 (patch) | |
| tree | 0e4ebff9f210d294d11ab70be6fbc0245c777d68 /src | |
| parent | d1aaeab617d4e0372e5e93b6865d3b63ceb1d596 (diff) | |
set global program icon via KAboutData, not directly
svn path=/trunk/KDE/kdebase/apps/; revision=799282
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 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 <kaboutdata.h> #include <kcmdlineargs.h> -#include <kicon.h> #include <klocale.h> #include <kmainwindow.h> #include <kdebug.h> @@ -62,6 +61,7 @@ int main(int argc, char **argv) about.addAuthor(ki18nc("@info:credit", "Michael Austin"), ki18nc("@info:credit", "Documentation"), + 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()) { |
