Make qtwaylandscanner generate correct interface versions.

Change-Id: I3e74b00c10a11fb60261e883cbcf25aa6d4589c2
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
Morten Johan Sorvig 2013-08-22 09:17:08 +02:00 committed by Andy Nichols
parent 8e4d666a6b
commit 02305555ca

View File

@ -172,7 +172,7 @@ WaylandInterface readInterface(QXmlStreamReader &xml)
{
WaylandInterface interface;
interface.name = byteArrayValue(xml, "name");
interface.version = intValue(xml, "name", 1);
interface.version = intValue(xml, "version", 1);
while (xml.readNextStartElement()) {
if (xml.name() == "event")