refs #745, removed unused hover code

(this was a trial to highlight the drop position, the callback function was kept)
This commit is contained in:
Klaus Basan
2016-08-26 23:07:36 +02:00
parent f506d780b9
commit 58faed5ea7
5 changed files with 13 additions and 54 deletions

View File

@@ -465,6 +465,13 @@ namespace BlackMisc
return this->m_modelType == TypeManuallySet && this->hasModelString();
}
bool CAircraftModel::hasDescription(bool ignoreAutoGenerated) const
{
if (this->m_description.isEmpty()) { return false; }
if (!ignoreAutoGenerated) { return true; }
return (!this->getDescription().startsWith(autoGenerated(), Qt::CaseInsensitive));
}
bool CAircraftModel::hasValidSimulator() const
{
return m_simulator.isAnySimulator();