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
|
ProjectInfo::operator bool() const
|
||||||
{
|
{
|
||||||
return !m_project.isNull();
|
return isValid();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ProjectInfo::isValid() const
|
bool ProjectInfo::isValid() const
|
||||||
@@ -147,11 +147,6 @@ bool ProjectInfo::isValid() const
|
|||||||
return !m_project.isNull();
|
return !m_project.isNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ProjectInfo::isNull() const
|
|
||||||
{
|
|
||||||
return m_project.isNull();
|
|
||||||
}
|
|
||||||
|
|
||||||
QPointer<ProjectExplorer::Project> ProjectInfo::project() const
|
QPointer<ProjectExplorer::Project> ProjectInfo::project() const
|
||||||
{
|
{
|
||||||
return m_project;
|
return m_project;
|
||||||
|
|||||||
@@ -142,7 +142,6 @@ public:
|
|||||||
|
|
||||||
operator bool() const;
|
operator bool() const;
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
bool isNull() const;
|
|
||||||
|
|
||||||
QPointer<ProjectExplorer::Project> project() const;
|
QPointer<ProjectExplorer::Project> project() const;
|
||||||
const QList<ProjectPart::Ptr> projectParts() const;
|
const QList<ProjectPart::Ptr> projectParts() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user