Commit c1833861 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools: Remove un-used function

Change-Id: Ib346359487cb06c0fc95ff5796e9dd6f220b9d16
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent df1e61d6
......@@ -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;
......
......@@ -142,7 +142,6 @@ public:
operator bool() const;
bool isValid() const;
bool isNull() const;
QPointer<ProjectExplorer::Project> project() const;
const QList<ProjectPart::Ptr> projectParts() const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment