CppTools: Remove ProjectInfo::operator bool()

This one does not buy us much...

Change-Id: I1d6c4667c038d319d2c16166505a386653a9f066
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2014-11-06 14:30:47 +01:00
parent 3f0aa88012
commit 5a1ffe6f1c
3 changed files with 3 additions and 9 deletions

View File

@@ -137,11 +137,6 @@ ProjectInfo::ProjectInfo(QPointer<ProjectExplorer::Project> project)
: m_project(project)
{}
ProjectInfo::operator bool() const
{
return isValid();
}
bool ProjectInfo::isValid() const
{
return !m_project.isNull();