mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user