X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f1b822d926316d739ec10d8b05917b6b0c2d92b5..2f045c60109e0a5811f68bcce617236e3478e402:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index cfaaa7480..2eada9aab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -22,21 +22,23 @@ #include "dolphinmainwindow.h" -#include +#include #include #include #include +#include +#include #include extern "C" KDE_EXPORT int kdemain(int argc, char **argv) { - KAboutData about("dolphin", 0, + K4AboutData about("dolphin", 0, ki18nc("@title", "Dolphin"), - "2.1", + KDE_VERSION_STRING, ki18nc("@title", "File Manager"), - KAboutData::License_GPL, - ki18nc("@info:credit", "(C) 2006-2012 Peter Penz and Frank Reininghaus")); + K4AboutData::License_GPL, + ki18nc("@info:credit", "(C) 2006-2014 Peter Penz and Frank Reininghaus")); about.setHomepage("http://dolphin.kde.org"); about.addAuthor(ki18nc("@info:credit", "Frank Reininghaus"), ki18nc("@info:credit", "Maintainer (since 2012) and developer"), @@ -50,6 +52,9 @@ KDE_EXPORT int kdemain(int argc, char **argv) about.addAuthor(ki18nc("@info:credit", "David Faure"), ki18nc("@info:credit", "Developer"), "faure@kde.org"); + about.addAuthor(ki18nc("@info:credit", "Emmanuel Pescosta"), + ki18nc("@info:credit", "Developer"), + "emmanuelpescosta099@gmail.com"); about.addAuthor(ki18nc("@info:credit", "Aaron J. Seigo"), ki18nc("@info:credit", "Developer"), "aseigo@kde.org"); @@ -82,11 +87,13 @@ KDE_EXPORT int kdemain(int argc, char **argv) options.add("+[Url]", ki18nc("@info:shell", "Document to open")); KCmdLineArgs::addCmdLineOptions(options); - DolphinApplication app; - if (app.isSessionRestored()) { - app.restoreSession(); + { + DolphinApplication app; + if (app.isSessionRestored()) { + app.restoreSession(); + } + app.exec(); // krazy:exclude=crashy } - app.exec(); // krazy:exclude=crashy return 0; }