forked from qt-creator/qt-creator
QmakeProjectManager: Remove unused QmakePrifile::buildsFile()
Change-Id: Ia71e00036f5468415ffc2e5649efe96f3debbfc8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -218,15 +218,6 @@ QSet<FileName> QmakePriFile::files(const FileType &type) const
|
|||||||
return m_files.value(type);
|
return m_files.value(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QmakePriFile::buildsFile(const FileName &fn) const
|
|
||||||
{
|
|
||||||
for (auto it = m_files.constBegin(); it != m_files.constEnd(); ++it) {
|
|
||||||
if (it.value().contains(fn))
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
QmakePriFile::~QmakePriFile()
|
QmakePriFile::~QmakePriFile()
|
||||||
{
|
{
|
||||||
watchFolders( {} );
|
watchFolders( {} );
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ public:
|
|||||||
void makeEmpty();
|
void makeEmpty();
|
||||||
|
|
||||||
QSet<Utils::FileName> files(const ProjectExplorer::FileType &type) const;
|
QSet<Utils::FileName> files(const ProjectExplorer::FileType &type) const;
|
||||||
bool buildsFile(const Utils::FileName &fn) const;
|
|
||||||
|
|
||||||
void update(const Internal::QmakePriFileEvalResult &result);
|
void update(const Internal::QmakePriFileEvalResult &result);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user