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:
ck
2010-01-07 13:53:48 +01:00
parent 9a0baca9a5
commit dedea5ea19
2 changed files with 3 additions and 4 deletions

View File

@@ -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