mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-30 22:26:48 -05:00
Merge pull request #14565 from SuperSamus/cpp-argument-move-reference
Improve usage of std::move and const references parameters
This commit is contained in:
@@ -552,7 +552,7 @@ QString Settings::GetDefaultGame() const
|
||||
return QString::fromStdString(Config::Get(Config::MAIN_DEFAULT_ISO));
|
||||
}
|
||||
|
||||
void Settings::SetDefaultGame(QString path)
|
||||
void Settings::SetDefaultGame(const QString& path)
|
||||
{
|
||||
if (GetDefaultGame() != path)
|
||||
{
|
||||
@@ -851,7 +851,7 @@ void Settings::RefreshWidgetVisibility()
|
||||
emit GameCountVisibilityChanged(IsGameCountVisible());
|
||||
}
|
||||
|
||||
void Settings::SetDebugFont(QFont font)
|
||||
void Settings::SetDebugFont(const QFont& font)
|
||||
{
|
||||
if (GetDebugFont() != font)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user