summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-20 05:04:59 +0200
committerLioncash <mathew1800@gmail.com>2018-09-20 07:35:50 +0200
commite980e90d6ee43ca82ea9e45b2ef97905fb969bb2 (patch)
tree26c832472359cf9317a0f26b7a5ff441ed951fab /src
parentReworked incorrect nifm stubs (#1355) (diff)
downloadyuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar.gz
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar.bz2
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar.lz
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar.xz
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.tar.zst
yuzu-e980e90d6ee43ca82ea9e45b2ef97905fb969bb2.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/game_list.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 3b3b551bb..e8b2f720a 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -89,15 +89,7 @@ bool GameList::SearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* e
}
void GameList::SearchField::setFilterResult(int visible, int total) {
- QString result_of_text = tr("of");
- QString result_text;
- if (total == 1) {
- result_text = tr("result");
- } else {
- result_text = tr("results");
- }
- label_filter_result->setText(
- QString("%1 %2 %3 %4").arg(visible).arg(result_of_text).arg(total).arg(result_text));
+ label_filter_result->setText(tr("%1 of %n result(s)", "", total).arg(visible));
}
void GameList::SearchField::clear() {