From e9812c217921d9b10dcae12a7b6ee02ca99fffd5 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 26 Oct 2009 10:20:28 +0100 Subject: version.h.cmake support --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 71feff37..9d7cc742 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,9 @@ * ============================================================ */ +// version include +#include "../version.h" + // Local Includes #include "application.h" #include "sessionmanager.h" @@ -38,15 +41,12 @@ static const char description[] = I18N_NOOP("A lightweight Web Browser for KDE based on WebKit"); -static const char version[] = "0.2.72"; - - int main(int argc, char **argv) { KAboutData about("rekonq", 0, ki18n("rekonq"), - version, + REKONQ_VERSION, ki18n(description), KAboutData::License_GPL_V3, ki18n("(C) 2008-2009 Andrea Diamantini"), -- cgit v1.2.1