Commit fc2ccabf378bbfdd6aaf1774677018dbd3f6abc2
1 parent
89dd55fc
Updated ExpandRect so Propname is the last parameter now
Showing
1 changed file
with
2 additions
and
2 deletions
openbr/plugins/metadata/expandrect.cpp
| ... | ... | @@ -28,12 +28,12 @@ namespace br |
| 28 | 28 | class ExpandRectTransform : public UntrainableTransform |
| 29 | 29 | { |
| 30 | 30 | Q_OBJECT |
| 31 | - Q_PROPERTY(QString propName READ get_propName WRITE set_propName RESET reset_propName STORED false) | |
| 32 | 31 | Q_PROPERTY(float widthExpand READ get_widthExpand WRITE set_widthExpand RESET reset_widthExpand STORED false) |
| 33 | 32 | Q_PROPERTY(float heightExpand READ get_heightExpand WRITE set_heightExpand RESET reset_heightExpand STORED false) |
| 34 | - BR_PROPERTY(QString, propName, "") | |
| 33 | + Q_PROPERTY(QString propName READ get_propName WRITE set_propName RESET reset_propName STORED false) | |
| 35 | 34 | BR_PROPERTY(float, widthExpand, .5) |
| 36 | 35 | BR_PROPERTY(float, heightExpand, .5) |
| 36 | + BR_PROPERTY(QString, propName, "") | |
| 37 | 37 | |
| 38 | 38 | void project(const Template &src, Template &dst) const |
| 39 | 39 | { | ... | ... |