forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user