From e89f91693726b86759ed6d7565955379ad39fa57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 13 Jan 2014 19:54:26 +0100 Subject: [PATCH] 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 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 10522950bb..f75b9192cc 100644 --- a/main.cpp +++ b/main.cpp @@ -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"