refs #369, gcc fixes

This commit is contained in:
Klaus Basan
2015-02-06 00:47:23 +01:00
parent f6e5b8b3b1
commit 16042c1fb2
5 changed files with 14 additions and 3 deletions

View File

@@ -88,6 +88,8 @@ namespace BlackMisc
return CVariant::fromValue(this->getMSecsSinceEpoch());
case IndexUtcTimestampFormatted:
return CVariant::fromValue(this->getFormattedUtcTimestamp());
default:
break;
}
}
const QString m = QString("Cannot handle index %1").arg(index.toQString());
@@ -108,6 +110,9 @@ namespace BlackMisc
case IndexMSecsSinceEpoch:
this->setMSecsSinceEpoch(variant.toInt());
return;
case IndexUtcTimestampFormatted:
default:
break;
}
}
const QString m = QString("Cannot handle index %1").arg(index.toQString());