Commit b7a3b9531c9afdbe5faf90106b792e13a6901ccc
1 parent
e82920f7
fixed non-initialization
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/openbr_plugin.h
| ... | ... | @@ -174,7 +174,7 @@ struct BR_EXPORT File |
| 174 | 174 | File(const QString &file) { init(file); } /*!< \brief Construct a file from a string. */ |
| 175 | 175 | File(const QString &file, const QVariant &label) { init(file); set("Label", label); } /*!< \brief Construct a file from a string and assign a label. */ |
| 176 | 176 | File(const char *file) { init(file); } /*!< \brief Construct a file from a c-style string. */ |
| 177 | - File(const QVariantMap &metadata) : m_metadata(metadata) {} /*!< \brief Construct a file from metadata. */ | |
| 177 | + File(const QVariantMap &metadata) : fte(false), m_metadata(metadata) {} /*!< \brief Construct a file from metadata. */ | |
| 178 | 178 | inline operator QString() const { return name; } /*!< \brief Returns #name. */ |
| 179 | 179 | QString flat() const; /*!< \brief A stringified version of the file with metadata. */ |
| 180 | 180 | QString hash() const; /*!< \brief A hash of the file. */ | ... | ... |