plugins/screencast: Drop "stream" in ScreenCastStream::streamReady
The word "stream" is redundant.
This commit is contained in:
parent
cd2a4de82f
commit
d1fdb69946
3 changed files with 3 additions and 3 deletions
|
@ -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()) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue