X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/03639796e5584ac5e88fc9ecd4830080f12fcca1..d6488887ecf69d7f192b94de8dce34fae0b7eb76:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index a54e8d4fc..c42cc044f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,8 +24,10 @@ #include #include +#include #include #include +#include int main(int argc, char **argv) { @@ -48,7 +50,7 @@ int main(int argc, char **argv) "aseigo@kde.org"); about.addAuthor(ki18nc("@info:credit", "Rafael Fernández López"), ki18nc("@info:credit", "Developer"), - "ereslibre@gmail.com"); + "ereslibre@kde.org"); about.addAuthor(ki18nc("@info:credit", "Kevin Ottens"), ki18nc("@info:credit", "Developer"), "ervin@kde.org"); @@ -73,9 +75,12 @@ 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()*/) { + if (app.isSessionRestored()) { int n = 1; while (KMainWindow::canBeRestored(n)) { const QString className = KXmlGuiWindow::classNameOfToplevel(n);