From a5c2c06a974032daa240756b567552c668fe9b90 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 15 Jun 2007 16:32:14 +0000 Subject: If we failed to compute any description for a game target, create a dummy description (this ensures that the entry is at least displayed) svn-id: r27419 --- gui/launcher.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 95f9b1f4fb..705665dc2a 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -588,6 +588,8 @@ void LauncherDialog::updateListing() { if (g.contains("description")) description = g.description(); } + if (description.empty()) + description = "Unknown (target " + iter->_key + ", gameid " + gameid + ")"; if (!gameid.empty() && !description.empty()) { // Insert the game into the launcher list -- cgit v1.2.3