[PC-BSD Commits] r20177 - pcbsd/current/src-qt4/pc-firstbootgui
svn at pcbsd.org
svn at pcbsd.org
Mon Nov 12 08:01:41 PST 2012
Author: kris
Date: 2012-11-12 16:01:41 +0000 (Mon, 12 Nov 2012)
New Revision: 20177
Modified:
pcbsd/current/src-qt4/pc-firstbootgui/backend.cpp
Log:
Fix the displaying of key layouts in the first boot GUI as well
Modified: pcbsd/current/src-qt4/pc-firstbootgui/backend.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/backend.cpp 2012-11-12 15:59:51 UTC (rev 20176)
+++ pcbsd/current/src-qt4/pc-firstbootgui/backend.cpp 2012-11-12 16:01:41 UTC (rev 20177)
@@ -152,6 +152,8 @@
code = line;
code.truncate(line.indexOf(" "));
desc = line.remove(0, line.indexOf(" "));
+ desc.replace("(", "'");
+ desc.replace(")", "'");
_layouts.append(desc.simplified() + " - (" + code.simplified() + ")");
}
}
More information about the Commits
mailing list