Fixed generic project considering all files as source files

Now it will only consider C and C++ files as source files by filtering
on mime-type. This seems appropriate for now since it currently only
supports C++ projects anyway.

Also removed the list of generated files, which was always empty since
there is no way to tell the generic project which files are generated.

Task-number: QTCREATORBUG-5451

Change-Id: I12209995db4b30643af1d51123813c24d016f44c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Thorbjørn Lindeijer
2013-01-08 16:08:38 +01:00
committed by Daniel Teske
parent d3302d83a6
commit c002c598b9
2 changed files with 20 additions and 13 deletions

View File

@@ -89,7 +89,6 @@ public:
QStringList allIncludePaths() const;
QStringList projectIncludePaths() const;
QStringList files() const;
QStringList generated() const;
protected:
bool fromMap(const QVariantMap &map);
@@ -113,7 +112,6 @@ private:
QStringList m_rawFileList;
QStringList m_files;
QHash<QString, QString> m_rawListEntries;
QStringList m_generated;
QStringList m_includePaths;
QStringList m_projectIncludePaths;
QByteArray m_defines;