Merge pull request #1118 from sipa/addbreaks

Add missing breaks in optionmodel's switch case
This commit is contained in:
Wladimir J. van der Laan 2012-04-17 14:33:26 -07:00
commit ac4161e25d

View file

@ -198,10 +198,12 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
settings.setValue("nDisplayUnit", nDisplayUnit);
emit displayUnitChanged(unit);
}
break;
case DisplayAddresses: {
bDisplayAddresses = value.toBool();
settings.setValue("bDisplayAddresses", bDisplayAddresses);
}
break;
default:
break;
}