forked from qt-creator/qt-creator
		
	Move Q_DECLARE_OPERATORS_FOR_FLAGS out of namespaces.
If this macro is used inside a namespace, it hides global operators. Reviewed-by: hjk
This commit is contained in:
		@@ -179,8 +179,6 @@ private:
 | 
			
		||||
    mutable QString m_linguistCommand;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QtVersion::QmakeBuildConfigs)
 | 
			
		||||
 | 
			
		||||
struct QMakeAssignment
 | 
			
		||||
{
 | 
			
		||||
    QString variable;
 | 
			
		||||
@@ -255,4 +253,6 @@ private:
 | 
			
		||||
 | 
			
		||||
} // namespace Qt4ProjectManager
 | 
			
		||||
 | 
			
		||||
Q_DECLARE_OPERATORS_FOR_FLAGS(Qt4ProjectManager::QtVersion::QmakeBuildConfigs)
 | 
			
		||||
 | 
			
		||||
#endif // QTVERSIONMANAGER_H
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user