fix (Qt) issues found by clang's clazy tool:
+ -Wclazy-incorrect-emit + -Wclazy-strict-iterators + -Wclazy-overloaded-signal + -Wclazy-qstring-arg + -Wclazy-unused-non-trivial-variable + -Wclazy-container-anti-pattern + -Wclazy-range-loop-reference + -Wclazy-const-signal-or-slot + -Wclazy-detaching-temporary + -Wclazy-qfileinfo-exists
This commit is contained in:
@@ -237,7 +237,7 @@ void PropertyItemDelegate::valueChanged()
|
||||
QWidget* editor = qobject_cast<QWidget*>(sender());
|
||||
if (editor) {
|
||||
Base::FlagToggler<> flag(changed);
|
||||
commitData(editor);
|
||||
Q_EMIT commitData(editor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user