@@ -14,7 +14,7 @@ QvPlugin_EventHandler(SimpleEventHandler, Connectivity)
14
14
// / $$INBOUND_inboundProtocol
15
15
// / --> port for that protocol, (e.g. $INBOUND_http as HTTP port)
16
16
// /
17
- const auto settings = CommandPluginConfig::fromJson (pluginInstance ->GetSettngs ());
17
+ const auto settings = CommandPluginConfig::fromJson (CommandPluginInstance ->GetSettngs ());
18
18
19
19
QStringList actions;
20
20
switch (pluginEvent.eventType )
@@ -55,7 +55,7 @@ QvPlugin_EventHandler(SimpleEventHandler, Connectivity)
55
55
auto returnvalue = QProcess::execute (_command);
56
56
if (returnvalue != 0 )
57
57
{
58
- pluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
58
+ CommandPluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
59
59
}
60
60
}
61
61
else
@@ -71,7 +71,7 @@ QvPlugin_EventHandler(SimpleEventHandler, SystemProxy)
71
71
// / $$HTTP: HTTP port (could be 0)
72
72
// / $$SOCKS: SOCKS port (could be 0)
73
73
// /
74
- const auto settings = CommandPluginConfig::fromJson (pluginInstance ->GetSettngs ());
74
+ const auto settings = CommandPluginConfig::fromJson (CommandPluginInstance ->GetSettngs ());
75
75
QStringList actions;
76
76
switch (pluginEvent.systemProxyState )
77
77
{
@@ -98,7 +98,7 @@ QvPlugin_EventHandler(SimpleEventHandler, SystemProxy)
98
98
auto returnvalue = QProcess::execute (_command);
99
99
if (returnvalue != 0 )
100
100
{
101
- pluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
101
+ CommandPluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
102
102
}
103
103
}
104
104
else
@@ -114,7 +114,7 @@ QvPlugin_EventHandler(SimpleEventHandler, ConnectionEntry)
114
114
// / $$DISPLAYNAME
115
115
// / $$ORIGINAL_NAME
116
116
// /
117
- const auto settings = CommandPluginConfig::fromJson (pluginInstance ->GetSettngs ());
117
+ const auto settings = CommandPluginConfig::fromJson (CommandPluginInstance ->GetSettngs ());
118
118
QStringList actions;
119
119
switch (pluginEvent.eventType )
120
120
{
@@ -156,7 +156,7 @@ QvPlugin_EventHandler(SimpleEventHandler, ConnectionEntry)
156
156
auto returnvalue = QProcess::execute (_command);
157
157
if (returnvalue != 0 )
158
158
{
159
- pluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
159
+ CommandPluginInstance ->PluginLog (" Failed to execute command : \" " + action + " \" " );
160
160
}
161
161
}
162
162
else
0 commit comments