diff options
| author | 2018-12-03 19:26:36 +0100 | |
|---|---|---|
| committer | 2018-12-03 19:26:36 +0100 | |
| commit | 6d7514ccec061e89a0e41d139ee86895c7b113a9 (patch) | |
| tree | 256331b97f569d9386c569f36362d40adabac1eb /src | |
| parent | Merge pull request #1827 from ReinUsesLisp/clip-and-shader (diff) | |
| download | yuzu-6d7514ccec061e89a0e41d139ee86895c7b113a9.tar.gz yuzu-6d7514ccec061e89a0e41d139ee86895c7b113a9.tar.xz yuzu-6d7514ccec061e89a0e41d139ee86895c7b113a9.zip | |
game_list: Remove a reference of a reference
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index b52a50915..c5643c348 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -373,7 +373,7 @@ void GameList::LoadCompatibilityList() { | |||
| 373 | QJsonDocument json = QJsonDocument::fromJson(string_content.toUtf8()); | 373 | QJsonDocument json = QJsonDocument::fromJson(string_content.toUtf8()); |
| 374 | QJsonArray arr = json.array(); | 374 | QJsonArray arr = json.array(); |
| 375 | 375 | ||
| 376 | for (const QJsonValueRef& value : arr) { | 376 | for (const QJsonValueRef value : arr) { |
| 377 | QJsonObject game = value.toObject(); | 377 | QJsonObject game = value.toObject(); |
| 378 | 378 | ||
| 379 | if (game.contains("compatibility") && game["compatibility"].isDouble()) { | 379 | if (game.contains("compatibility") && game["compatibility"].isDouble()) { |
| @@ -381,7 +381,7 @@ void GameList::LoadCompatibilityList() { | |||
| 381 | QString directory = game["directory"].toString(); | 381 | QString directory = game["directory"].toString(); |
| 382 | QJsonArray ids = game["releases"].toArray(); | 382 | QJsonArray ids = game["releases"].toArray(); |
| 383 | 383 | ||
| 384 | for (const QJsonValueRef& id_ref : ids) { | 384 | for (const QJsonValueRef id_ref : ids) { |
| 385 | QJsonObject id_object = id_ref.toObject(); | 385 | QJsonObject id_object = id_ref.toObject(); |
| 386 | QString id = id_object["id"].toString(); | 386 | QString id = id_object["id"].toString(); |
| 387 | compatibility_list.emplace( | 387 | compatibility_list.emplace( |