feat(GODT-3121): fix issues reported by the resharper C++ engine.

This commit is contained in:
Xavier Michelon
2023-11-30 17:51:19 +01:00
parent ebeca394c7
commit 39b31abef8
24 changed files with 119 additions and 129 deletions

View File

@ -31,7 +31,7 @@ using namespace bridgepp;
/// \param[in] edit The edit containing the address.
/// \param[in] eventGenerator The factory function creating the event.
//****************************************************************************************************************************************************
void connectAddressError(QPushButton* button, QLineEdit* edit, bridgepp::SPStreamEvent (*eventGenerator)(QString const&)) {
void connectAddressError(QPushButton const* button, QLineEdit* edit, SPStreamEvent (*eventGenerator)(QString const&)) {
QObject::connect(button, &QPushButton::clicked, [edit, eventGenerator]() { app().grpc().sendEvent(eventGenerator(edit->text())); });
}
@ -77,13 +77,6 @@ qint32 EventsTab::eventDelayMs() const {
}
//****************************************************************************************************************************************************
//
//****************************************************************************************************************************************************
void EventsTab::updateGUIState() {
}
//****************************************************************************************************************************************************
/// \return The bug report results
//****************************************************************************************************************************************************