Remove unused VCFilterFile::additionalFile
Change-Id: I67716404d38f41ee4f558dc5d82c9ae80a6956f1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
1670bc751e
commit
b4c7d4f4b3
@ -912,24 +912,20 @@ struct VCFilterFile
|
|||||||
{ excludeFromBuild = false; }
|
{ excludeFromBuild = false; }
|
||||||
VCFilterFile(const QString &filename, bool exclude = false )
|
VCFilterFile(const QString &filename, bool exclude = false )
|
||||||
{ file = filename; excludeFromBuild = exclude; }
|
{ file = filename; excludeFromBuild = exclude; }
|
||||||
VCFilterFile(const QString &filename, const QString &additional, bool exclude = false )
|
|
||||||
{ file = filename; excludeFromBuild = exclude; additionalFile = additional; }
|
|
||||||
bool operator==(const VCFilterFile &other){
|
bool operator==(const VCFilterFile &other){
|
||||||
return file == other.file
|
return file == other.file
|
||||||
&& additionalFile == other.additionalFile
|
|
||||||
&& excludeFromBuild == other.excludeFromBuild;
|
&& excludeFromBuild == other.excludeFromBuild;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool excludeFromBuild;
|
bool excludeFromBuild;
|
||||||
QString file;
|
QString file;
|
||||||
QString additionalFile; // For tools like MOC
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG_OUTPUT
|
#ifndef QT_NO_DEBUG_OUTPUT
|
||||||
inline QDebug operator<<(QDebug dbg, const VCFilterFile &p)
|
inline QDebug operator<<(QDebug dbg, const VCFilterFile &p)
|
||||||
{
|
{
|
||||||
dbg.nospace() << "VCFilterFile(file(" << p.file
|
dbg.nospace() << "VCFilterFile(file(" << p.file
|
||||||
<< ") additionalFile(" << p.additionalFile
|
|
||||||
<< ") excludeFromBuild(" << p.excludeFromBuild << "))" << endl;
|
<< ") excludeFromBuild(" << p.excludeFromBuild << "))" << endl;
|
||||||
return dbg.space();
|
return dbg.space();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user