Mercurial > hg > svcore
comparison base/PropertyContainer.cpp @ 528:57857a57a03a
* fix some warnings, remove debug
author | Chris Cannam |
---|---|
date | Fri, 16 Jan 2009 15:12:23 +0000 |
parents | 7aa1de571880 |
children | b4a8d8221eaf |
comparison
equal
deleted
inserted
replaced
527:3c5570e3d9c5 | 528:57857a57a03a |
---|---|
78 if (value == currentValue) return 0; | 78 if (value == currentValue) return 0; |
79 return new SetPropertyCommand(this, name, value); | 79 return new SetPropertyCommand(this, name, value); |
80 } | 80 } |
81 | 81 |
82 void | 82 void |
83 PropertyContainer::setProperty(QString nameString, QString valueString) | 83 PropertyContainer::setPropertyFuzzy(QString nameString, QString valueString) |
84 { | 84 { |
85 PropertyName name; | 85 PropertyName name; |
86 int value; | 86 int value; |
87 if (!convertPropertyStrings(nameString, valueString, name, value)) { | 87 if (!convertPropertyStrings(nameString, valueString, name, value)) { |
88 std::cerr << "WARNING: PropertyContainer::setProperty(\"" | 88 std::cerr << "WARNING: PropertyContainer::setProperty(\"" |