From c5b92bcb2eae79b13991b51954b46f06fa9e5bf2 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 3 May 2019 20:48:06 +0200 Subject: GUI: Better integration for the unknown game dialog when adding games * The list of candidates now includes unknown variants. When an unknown variant is selected, the unknown game dialog is shown. * On the unknown game dialog, users are given the choice to add the game when that is possible, or to cancel. The goal of those changes is to make the unknown game dialog less confusing for users, especially when both known and unknown games variants are found. --- base/plugins.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'base') diff --git a/base/plugins.cpp b/base/plugins.cpp index 55c99b1eda..ac217ab960 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -553,6 +553,7 @@ DetectionResults EngineManager::detectGames(const Common::FSList &fslist) const for (uint i = 0; i < engineCandidates.size(); i++) { engineCandidates[i].engineName = metaEngine.getName(); engineCandidates[i].path = fslist.begin()->getParent().getPath(); + engineCandidates[i].shortPath = fslist.begin()->getParent().getDisplayName(); candidates.push_back(engineCandidates[i]); } -- cgit v1.2.3