plugins/screencast: Drop "stream" in ScreenCastStream::streamReady

The word "stream" is redundant.
This commit is contained in:
Vlad Zahorodnii 2024-03-26 18:55:22 +02:00
parent cd2a4de82f
commit d1fdb69946
3 changed files with 3 additions and 3 deletions

View file

@ -126,7 +126,7 @@ void ScreencastManager::integrateStreams(ScreencastStreamV1Interface *waylandStr
waylandStream->sendClosed();
stream->deleteLater();
});
connect(stream, &ScreenCastStream::streamReady, stream, [waylandStream](uint nodeid) {
connect(stream, &ScreenCastStream::ready, stream, [waylandStream](uint nodeid) {
waylandStream->sendCreated(nodeid);
});
if (!stream->init()) {

View file

@ -89,7 +89,7 @@ void ScreenCastStream::onStreamStateChanged(pw_stream_state old, pw_stream_state
case PW_STREAM_STATE_PAUSED:
if (nodeId() == 0 && m_pwStream) {
m_pwNodeId = pw_stream_get_node_id(m_pwStream);
Q_EMIT streamReady(nodeId());
Q_EMIT ready(nodeId());
}
m_source->pause();
break;

View file

@ -75,7 +75,7 @@ public Q_SLOTS:
bool includesCursor(Cursor *cursor) const;
Q_SIGNALS:
void streamReady(quint32 nodeId);
void ready(quint32 nodeId);
void closed();
private: