Make qtwaylandscanner generate correct interface versions.
Change-Id: I3e74b00c10a11fb60261e883cbcf25aa6d4589c2 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
parent
8e4d666a6b
commit
02305555ca
@ -172,7 +172,7 @@ WaylandInterface readInterface(QXmlStreamReader &xml)
|
|||||||
{
|
{
|
||||||
WaylandInterface interface;
|
WaylandInterface interface;
|
||||||
interface.name = byteArrayValue(xml, "name");
|
interface.name = byteArrayValue(xml, "name");
|
||||||
interface.version = intValue(xml, "name", 1);
|
interface.version = intValue(xml, "version", 1);
|
||||||
|
|
||||||
while (xml.readNextStartElement()) {
|
while (xml.readNextStartElement()) {
|
||||||
if (xml.name() == "event")
|
if (xml.name() == "event")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user