fixed callsign and two models

This commit is contained in:
Klaus Basan
2014-04-26 15:55:16 +02:00
parent 9ccf005451
commit 172ea1d98e
3 changed files with 12 additions and 4 deletions

View File

@@ -71,10 +71,8 @@ namespace BlackMisc
*/
bool CCallsign::equalsString(const QString &callsignString) const
{
if (callsignString.isEmpty()) return false;
if (this->isEmpty()) return false;
if (callsignString == this->m_callsign || callsignString == this->m_callsignAsSet) return true;
return false;
CCallsign other(callsignString);
return other == (*this);
}
/*