refs #893, formatting

This commit is contained in:
Klaus Basan
2017-03-01 00:51:26 +01:00
committed by Mathew Sutcliffe
parent 056d205488
commit e90c65a33a
8 changed files with 96 additions and 79 deletions

View File

@@ -109,7 +109,7 @@ namespace BlackMisc
CVariant CModulator<AVIO>::propertyByIndex(const CPropertyIndex &index) const
{
if (index.isMyself()) { return CVariant::from(*derived()); }
ColumnIndex i = index.frontCasted<ColumnIndex>();
const ColumnIndex i = index.frontCasted<ColumnIndex>();
switch (i)
{
case IndexActiveFrequency:
@@ -131,7 +131,7 @@ namespace BlackMisc
void CModulator<AVIO>::setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant)
{
if (index.isMyself()) { Q_ASSERT_X(false, Q_FUNC_INFO, "Wrong index to base template"); return; }
ColumnIndex i = index.frontCasted<ColumnIndex>();
const ColumnIndex i = index.frontCasted<ColumnIndex>();
switch (i)
{
case IndexActiveFrequency: