X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/3ba0f41c44e41da9606fff05cc21f4344d6f9b5f..e3ed05b37249e487c46ab3e0512b43a8bd9316fc:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index dfe291015..803f7677b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,19 +24,20 @@ #include #include +#include #include #include +#include int main(int argc, char **argv) { KAboutData about("dolphin", 0, ki18nc("@title", "Dolphin"), - "0.9.5", + "1.0", ki18nc("@title", "File Manager"), KAboutData::License_GPL, ki18nc("@info:credit", "(C) 2006, 2007 Peter Penz")); about.setHomepage("http://enzosworld.gmxhome.de"); - about.setBugAddress("http://bugs.kde.org"); about.addAuthor(ki18nc("@info:credit", "Peter Penz"), ki18nc("@info:credit", "Maintainer and developer"), "peter.penz@gmx.at"); @@ -73,9 +74,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);