[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kfind
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-09-07 21:42:46
[Download RAW message or body]

CVS commit by antlarr: 

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


  M +1 -1      main.cpp   1.45
  M +2 -2      version.h   1.11


--- kdebase/kfind/main.cpp  #1.44:1.45
@@ -24,5 +24,5 @@ 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"));
 

--- kdebase/kfind/version.h  #1.10:1.11
@@ -1,3 +1,3 @@
-#ifndef VERSION
-#define VERSION "2.0"
+#ifndef KFIND_VERSION
+#define KFIND_VERSION "2.0"
 #endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic