replace hard-coded values with enum values

This commit is contained in:
wmayer
2017-05-30 15:21:23 +02:00
parent 397539aed2
commit c4cb4518ba
5 changed files with 30 additions and 27 deletions

View File

@@ -108,7 +108,7 @@ void Property::touch()
{
if (father)
father->onChanged(this);
StatusBits.set(0);
StatusBits.set(Touched);
}
void Property::setReadOnly(bool readOnly)
@@ -123,7 +123,7 @@ void Property::hasSetValue(void)
{
if (father)
father->onChanged(this);
StatusBits.set(0);
StatusBits.set(Touched);
}
void Property::aboutToSetValue(void)