forked from qt-creator/qt-creator
		
	C++ Editor: check for method existing decl/def when inserting new ones.
This commit is contained in:
		@@ -132,6 +132,8 @@ public:
 | 
			
		||||
        {
 | 
			
		||||
            Function *funTy = control()->newFunction(0, 0);
 | 
			
		||||
            funTy->copy(type);
 | 
			
		||||
            funTy->setConst(type->isConst());
 | 
			
		||||
            funTy->setVolatile(type->isVolatile());
 | 
			
		||||
 | 
			
		||||
            funTy->setName(rewrite->rewriteName(type->name()));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user