mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Return a default-constructed QString instead of implicitly converting an empty string literal.
This commit is contained in:
@@ -174,8 +174,8 @@ void CSwiftCore::disconnectFromNetwork()
|
||||
|
||||
QString CSwiftCore::getAudioCmdFromRadioButtons() const
|
||||
{
|
||||
if (ui->rb_AudioOnCore->isChecked()) { return "--coreaudio"; }
|
||||
return "";
|
||||
if (ui->rb_AudioOnCore->isChecked()) { return QStringLiteral("--coreaudio"); }
|
||||
return {};
|
||||
}
|
||||
|
||||
QStringList CSwiftCore::getRestartCmdArgs() const
|
||||
|
||||
Reference in New Issue
Block a user