forked from qt-creator/qt-creator
QmlJS: Remove ComponentVersion::major/minor.
They are unusable on linux as there are commonly-included macros of the same name.
This commit is contained in:
@@ -46,13 +46,6 @@ public:
|
||||
ComponentVersion(int major, int minor);
|
||||
~ComponentVersion();
|
||||
|
||||
int major() const
|
||||
{ return _major; }
|
||||
int minor() const
|
||||
{ return _minor; }
|
||||
|
||||
// something in the GNU headers introduces the major() and minor() defines,
|
||||
// use these two to disambiguate when necessary
|
||||
int majorVersion() const
|
||||
{ return _major; }
|
||||
int minorVersion() const
|
||||
|
||||
Reference in New Issue
Block a user