Implemented for pointf only
Details
Details
Diff Detail
Diff Detail
- Repository
- R13 KProperty
- Branch
- options
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Only issue I see is that the string display of the composed property (not the child properties) still displays in points.
src/KProperty.cpp | ||
---|---|---|
525 | Could work but I am usually not a big fan of copying information. How about handling inheritance for options: --- src/KProperty.cpp +++ src/KProperty.cpp @@ -93,9 +93,9 @@ public: inline QVariant option(const char* name, const QVariant& defaultValue) const { if (options.contains(name)) return options[name]; - return defaultValue; + return parent->option(name, defaultValue); } KPointComposedProperty creates properties as children already so would this work just fine? |