diff options
| author | Ragnar Thomsen <[email protected]> | 2015-07-29 22:54:54 +0200 |
|---|---|---|
| committer | Ragnar Thomsen <[email protected]> | 2015-07-29 22:54:54 +0200 |
| commit | 7d1a054267a7fa1b2feed68556e7dc401f34310e (patch) | |
| tree | cce1d1f0422f016975bcdef3bcad45f8993c6481 /src/main.cpp | |
| parent | 52136255d86cfdf4bcfcd865bfa14cdd481b3a77 (diff) | |
Enable automatic update of version number
Use CMake variables autoupdated by release script. Dolphin version is
automatically updated to KDE Applications version.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index ec6833681..b4ca2c6af 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")); |
