| 71 | } |
| 72 | |
| 73 | void RunCommandPlugin::sendConfig() |
| 74 | { |
| 75 | QString commands = config()->getString(QStringLiteral("commands"), QStringLiteral("{}")); |
| 76 | NetworkPacket np(PACKET_TYPE_RUNCOMMAND, {{QStringLiteral("commandList"), commands}}); |
| 77 | np.set<bool>(QStringLiteral("canAddCommand"), true); |
| 78 | |
| 79 | sendPacket(np); |
| 80 | } |
| 81 | |
| 82 | #include "moc_runcommandplugin.cpp" |
| 83 | #include "runcommandplugin.moc" |