The following issues were found
src/ui/widgets/editors/w_JsonEditor.cpp
1 issues
Line: 30
jsonTree->resizeColumnToContents(0);
}
QvMessageBusSlotImpl(JsonEditor)
{
switch (msg)
{
MBShowDefaultImpl;
MBHideDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/editors/w_OutboundEditor.cpp
1 issues
Line: 49
useForwardProxy = false;
}
QvMessageBusSlotImpl(OutboundEditor)
{
switch (msg)
{
MBShowDefaultImpl;
MBHideDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/editors/w_RoutesEditor.cpp
1 issues
Line: 142
isLoading = false;
}
QvMessageBusSlotImpl(RouteEditor)
{
switch (msg)
{
MBShowDefaultImpl;
MBHideDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/widgets/ConnectionInfoWidget.cpp
1 issues
Line: 12
constexpr auto INDEX_CONNECTION = 0;
constexpr auto INDEX_GROUP = 1;
QvMessageBusSlotImpl(ConnectionInfoWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
MBUpdateColorSchemeDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/widgets/DnsSettingsWidget.cpp
1 issues
Line: 62
updateColorScheme();
}
QvMessageBusSlotImpl(DnsSettingsWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
case HIDE_WINDOWS:
Reported by Cppcheck.
src/ui/widgets/widgets/InboundSettingsWidget.cpp
1 issues
Line: 7
setupUi(this);
}
QvMessageBusSlotImpl(InboundSettingsWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
case HIDE_WINDOWS:
Reported by Cppcheck.
src/ui/widgets/widgets/StreamSettingsWidget.cpp
1 issues
Line: 16
QvMessageBusConnect(StreamSettingsWidget);
}
QvMessageBusSlotImpl(StreamSettingsWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
case UPDATE_COLORSCHEME:
Reported by Cppcheck.
src/ui/widgets/widgets/complex/ChainEditorWidget.cpp
1 issues
Line: 44
connect(scene, &QtNodes::FlowScene::connectionDeleted, this, &ChainEditorWidget::OnSceneConnectionRemoved);
}
QvMessageBusSlotImpl(ChainEditorWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
MBUpdateColorSchemeDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/widgets/complex/RoutingEditorWidget.cpp
1 issues
Line: 39
delBtn->setIcon(QIcon(QV2RAY_COLORSCHEME_FILE("ashbin")));
}
QvMessageBusSlotImpl(RoutingEditorWidget)
{
switch (msg)
{
MBRetranslateDefaultImpl;
MBUpdateColorSchemeDefaultImpl;
Reported by Cppcheck.
src/ui/widgets/windows/w_GroupManager.cpp
1 issues
Line: 108
void GroupManager::onRCMDeleteConnectionTriggered()
{
const auto list = GET_SELECTED_CONNECTION_IDS(SELECTED_ROWS_INDEX);
for (const auto &item : list)
{
ConnectionManager->RemoveConnectionFromGroup(ConnectionId(item), currentGroupId);
}
reloadConnectionsList(currentGroupId);
Reported by Cppcheck.