forked from qt-creator/qt-creator
CppTools: Remove un-used function
Change-Id: Ib346359487cb06c0fc95ff5796e9dd6f220b9d16 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -139,7 +139,7 @@ ProjectInfo::ProjectInfo(QPointer<ProjectExplorer::Project> project)
|
||||
|
||||
ProjectInfo::operator bool() const
|
||||
{
|
||||
return !m_project.isNull();
|
||||
return isValid();
|
||||
}
|
||||
|
||||
bool ProjectInfo::isValid() const
|
||||
@@ -147,11 +147,6 @@ bool ProjectInfo::isValid() const
|
||||
return !m_project.isNull();
|
||||
}
|
||||
|
||||
bool ProjectInfo::isNull() const
|
||||
{
|
||||
return m_project.isNull();
|
||||
}
|
||||
|
||||
QPointer<ProjectExplorer::Project> ProjectInfo::project() const
|
||||
{
|
||||
return m_project;
|
||||
|
||||
Reference in New Issue
Block a user