format
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
cf220356b1
commit
9d903175ab
@ -32,7 +32,7 @@ namespace Meta {
|
|||||||
|
|
||||||
class ParsingValidator : public Net::Validator {
|
class ParsingValidator : public Net::Validator {
|
||||||
public: /* con/des */
|
public: /* con/des */
|
||||||
ParsingValidator(BaseEntity* entity) : m_entity(entity){};
|
ParsingValidator(BaseEntity* entity) : m_entity(entity) {};
|
||||||
virtual ~ParsingValidator() = default;
|
virtual ~ParsingValidator() = default;
|
||||||
|
|
||||||
public: /* methods */
|
public: /* methods */
|
||||||
|
@ -243,9 +243,8 @@ void VersionList::setupAddedVersion(const int row, const Version::Ptr& version)
|
|||||||
|
|
||||||
connect(version.get(), &Version::requiresChanged, this,
|
connect(version.get(), &Version::requiresChanged, this,
|
||||||
[this, row]() { emit dataChanged(index(row), index(row), QVector<int>() << RequiresRole); });
|
[this, row]() { emit dataChanged(index(row), index(row), QVector<int>() << RequiresRole); });
|
||||||
connect(version.get(), &Version::timeChanged, this, [this, row]() {
|
connect(version.get(), &Version::timeChanged, this,
|
||||||
emit dataChanged(index(row), index(row), { TimeRole, SortRole });
|
[this, row]() { emit dataChanged(index(row), index(row), { TimeRole, SortRole }); });
|
||||||
});
|
|
||||||
connect(version.get(), &Version::typeChanged, this, [this, row]() { emit dataChanged(index(row), index(row), { TypeRole }); });
|
connect(version.get(), &Version::typeChanged, this, [this, row]() { emit dataChanged(index(row), index(row), { TypeRole }); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user