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:
wmayer
2022-06-29 21:00:54 +02:00
parent 898b1007b9
commit d5921e08ec
49 changed files with 185 additions and 180 deletions

View File

@@ -188,11 +188,11 @@ void TaskSelectLinkProperty::checkSelectionStatus(void)
if (Filter->match()) {
palette.setBrush(QPalette::Base,QColor(200,250,200));
emitSelectionFit();
Q_EMIT emitSelectionFit();
}
else {
palette.setBrush(QPalette::Base,QColor(250,200,200));
emitSelectionMisfit();
Q_EMIT emitSelectionMisfit();
}
//ui->listWidget->setAutoFillBackground(true);
ui->listWidget->setPalette(palette);