From 96f134eecc80a9a655d4b85fc2bd078775bb1c34 Mon Sep 17 00:00:00 2001 From: Stefan Monov Date: Mon, 5 Nov 2007 16:49:24 +0000 Subject: [PATCH] use an icon even when launched manually. okular uses the same workaround. svn path=/trunk/KDE/kdebase/apps/; revision=733138 --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index ebbc9a552..395c5e1b8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -74,6 +75,9 @@ 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 (false /*app.isSessionRestored()*/) { -- 2.47.3