Commit d137910a authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮 Committed by Nicolas Fella
Browse files

bigscreen: add comment on how this plugin is used

Currently bigscreenplugin emits a signal whose consumption point is not documented in our code.
This patch adds a link to a usecase of this emitted signal.
parent 473b1f07
Pipeline #41236 passed with stage
in 5 minutes and 34 seconds
......@@ -30,6 +30,9 @@ BigscreenPlugin::~BigscreenPlugin() = default;
bool BigscreenPlugin::receivePacket(const NetworkPacket& np)
{
QString message = np.get<QString>(QStringLiteral("content"));
/* Emit a signal that will be consumed by Plasma BigScreen:
* https://invent.kde.org/plasma/plasma-bigscreen/-/blob/master/containments/homescreen/package/contents/ui/indicators/KdeConnect.qml
*/
Q_EMIT messageReceived(message);
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment