Use KDE4WORKSPACE_VERSION as base for kwin's version number

KWin used KDE_VERSION_STRING as version number. This means if compiled
against kdelibs 4.12 the version is 4.12 although the true version is
4.11.something. By using the KWIN_VERSION_STRING we can base it on the
version number set in kde-workspace's CMakeLists.txt.

REVIEW: 115002
icc-effect-5.14.5
Martin Gräßlin 2014-01-13 19:54:26 +01:00
parent 723dce4e4c
commit e89f916937
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ void Application::resetCrashesCount()
} // namespace
static const char version[] = KDE_VERSION_STRING;
static const char version[] = KWIN_VERSION_STRING;
static const char description[] = I18N_NOOP("KDE window manager");
extern "C"