refs #358, fixes as proposed by RW

* foreach -> for
* CVariant
This commit is contained in:
Klaus Basan
2014-12-22 21:14:18 +01:00
parent 69b095ff75
commit d0b5fc1249
5 changed files with 9 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ namespace BlackMisc
*/
CVariant CAircraftModel::propertyByIndex(const BlackMisc::CPropertyIndex &index) const
{
if (index.isMyself()) { return this->toQVariant(); }
if (index.isMyself()) { return this->toCVariant(); }
ColumnIndex i = index.frontCasted<ColumnIndex>();
switch (i)
{