summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-05-26 19:57:35 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-13 18:19:22 -0400
commitb3d6f7bdd841098aa47f367d60c2ac0ab320dd98 (patch)
treeec64b25f4db7424e8b762beb18239d327a1dea62 /src/yuzu/game_list.cpp
parent12156b199a13d7147f3fe6aebe72ae0c257986a5 (diff)
yuzu: Eliminate variable shadowing
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r--src/yuzu/game_list.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 6321afc83..64a866f34 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -80,9 +80,9 @@ bool GameListSearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* eve
return QObject::eventFilter(obj, event);
}
-void GameListSearchField::setFilterResult(int visible, int total) {
- this->visible = visible;
- this->total = total;
+void GameListSearchField::setFilterResult(int visible_, int total_) {
+ visible = visible_;
+ total = total_;
label_filter_result->setText(tr("%1 of %n result(s)", "", total).arg(visible));
}