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:
@@ -932,7 +932,7 @@ void ManualAlignment::finish()
|
||||
Gui::getMainWindow()->showMessage(tr("The alignment has finished"));
|
||||
|
||||
// If an event receiver has been defined send the manual alignment finished event to it
|
||||
emitFinished();
|
||||
Q_EMIT emitFinished();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -950,7 +950,7 @@ void ManualAlignment::cancel()
|
||||
Gui::getMainWindow()->showMessage(tr("The alignment has been canceled"));
|
||||
|
||||
// If an event receiver has been defined send the manual alignment cancelled event to it
|
||||
emitCanceled();
|
||||
Q_EMIT emitCanceled();
|
||||
}
|
||||
|
||||
void ManualAlignment::align()
|
||||
|
||||
Reference in New Issue
Block a user