This is the right way to fix the warning, I thought it was related to version.h being included twice,

but it seems it's because VERSION is already defined in config.h

svn path=/trunk/kdebase/kfind/; revision=249241
This commit is contained in:
Antonio Larrosa Jimenez 2003-09-07 21:42:46 +00:00
parent a337d8a37f
commit 752b48ef0c
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ int main( int argc, char ** argv )
{
KLocale::setMainCatalogue("kfindpart");
KAboutData aboutData( "kfind", I18N_NOOP("KFind"),
VERSION, description, KAboutData::License_GPL,
KFIND_VERSION, description, KAboutData::License_GPL,
I18N_NOOP("(c) 1998-2003, The KDE Developers"));
aboutData.addAuthor("Eric Coquelle", I18N_NOOP("Current Maintainer"), "coquelle@caramail.com");

View file

@ -1,3 +1,3 @@
#ifndef VERSION
#define VERSION "2.0"
#ifndef KFIND_VERSION
#define KFIND_VERSION "2.0"
#endif