-
Notifications
You must be signed in to change notification settings - Fork 18
Added a new config for setting the subtitles display #440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -202,6 +202,7 @@ bool Client::performSetState(const firebolt::rialto::common::SessionServerState | |||||||||||
|
|
||||||||||||
| bool Client::performSetConfiguration(const firebolt::rialto::common::SessionServerState &initialState, | ||||||||||||
| const std::string &socketName, const std::string &clientDisplayName, | ||||||||||||
| const std::string &subtitlesDisplayName, | ||||||||||||
| const firebolt::rialto::common::MaxResourceCapabilitites &maxResource, | ||||||||||||
| const unsigned int socketPermissions, const std::string &socketOwner, | ||||||||||||
| const std::string &socketGroup, const std::string &appName) const | ||||||||||||
|
|
@@ -216,6 +217,7 @@ bool Client::performSetConfiguration(const firebolt::rialto::common::SessionServ | |||||||||||
| rialto::SetConfigurationResponse response; | ||||||||||||
| request.set_sessionmanagementsocketname(socketName); | ||||||||||||
| request.set_clientdisplayname(clientDisplayName); | ||||||||||||
| request.set_subtitlesdisplayname(subtitlesDisplayName); | ||||||||||||
|
||||||||||||
| request.set_subtitlesdisplayname(subtitlesDisplayName); | |
| if (!subtitlesDisplayName.empty()) | |
| { | |
| request.set_subtitlesdisplayname(subtitlesDisplayName); | |
| } |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverity issue no longer present as of: undefined
Show issue
Coverity Issue - Use of auto that causes a copy
Using the "auto" keyword without an "&" causes the copy of an object of type "std::string".
Low Impact, CWE-none
AUTO_CAUSES_COPY
How to fix
Use "const auto &" instead of "auto".