From 752c22056f4ba61961a01819992f9af71a3b0416 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Thu, 10 Sep 2009 11:17:11 -0300 Subject: Fix a bug related to function default values. ApiExtractor tries to modify the defaultValue every time, so then return value of originalDefaultValue() if diferent from the return value of defaultValue() when they dont need to be. Unit test included. --- abstractmetabuilder.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'abstractmetabuilder.h') diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h index 4f09791..fb40193 100644 --- a/abstractmetabuilder.h +++ b/abstractmetabuilder.h @@ -117,9 +117,6 @@ public: void setupClonable(AbstractMetaClass *cls); void setupFunctionDefaults(AbstractMetaFunction *metaFunction, AbstractMetaClass *metaClass); - QString translateDefaultValue(ArgumentModelItem item, AbstractMetaType *type, - AbstractMetaFunction *fnc, AbstractMetaClass *, - int argumentIndex); AbstractMetaType *translateType(const TypeInfo &type, bool *ok, bool resolveType = true, bool resolveScope = true); void decideUsagePattern(AbstractMetaType *type); -- cgit v1.2.3