forked from qt-creator/qt-creator
		
	ProjectExplorer: Make Project::id value based
Change-Id: Ie210d2a068158c6caaac66aae58cbd886f61c18d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
		@@ -39,6 +39,7 @@ TestProject::TestProject(const QString &name, QObject *parent)
 | 
			
		||||
    : m_name (name)
 | 
			
		||||
{
 | 
			
		||||
    setParent(parent);
 | 
			
		||||
    setId(Core::Id::fromString(name));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
TestProject::~TestProject()
 | 
			
		||||
 
 | 
			
		||||
@@ -48,9 +48,6 @@ public:
 | 
			
		||||
    virtual QString displayName() const
 | 
			
		||||
    { return m_name; }
 | 
			
		||||
 | 
			
		||||
    virtual Core::Id id() const
 | 
			
		||||
    { return Core::Id::fromString(m_name); }
 | 
			
		||||
 | 
			
		||||
    virtual Core::IDocument *document() const
 | 
			
		||||
    { return 0; }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user