X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/06f2cd58b8be14b1098bcf06cf9bb97c7c79d46c..c8ffbd0139fe9ec5f87255b46200ffd4b069db0b:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index ec6833681..bcc9f8a85 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,6 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ +#include "dolphin_version.h" #include "dolphinmainwindow.h" #include "dolphin_generalsettings.h" #include "dbusinterface.h" @@ -44,7 +45,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) migrate.setUiFiles(QStringList() << QStringLiteral("dolphinpart.rc") << QStringLiteral("dolphinui.rc")); migrate.migrate(); - KAboutData aboutData("dolphin", i18n("Dolphin"), "14.12.95", + KAboutData aboutData("dolphin", i18n("Dolphin"), QStringLiteral(DOLPHIN_VERSION_STRING), i18nc("@title", "File Manager"), KAboutLicense::GPL, i18nc("@info:credit", "(C) 2006-2014 Peter Penz, Frank Reininghaus, and Emmanuel Pescosta")); @@ -112,8 +113,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) if (urls.isEmpty()) { // We need at least one URL to open Dolphin - const QUrl homeUrl(QUrl::fromLocalFile(GeneralSettings::homeUrl())); - urls.append(homeUrl); + urls.append(Dolphin::homeUrl()); } const bool splitView = parser.isSet("split") || GeneralSettings::splitView();