Client: Implement interface name printing for Wayland protocol
Change-Id: I73eb629caedf3c9f78b5d83168549125422092b6 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
2d5c66b79c
commit
8784a01787
@ -84,7 +84,8 @@ public:
|
||||
// developer and the version specified in the protocol and also the
|
||||
// compositor version.
|
||||
if (this->version() > T::interface()->version) {
|
||||
qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead.");
|
||||
qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead. interface.name: %s",
|
||||
T::interface()->name);
|
||||
}
|
||||
int minVersion = qMin(ver, qMin(T::interface()->version, this->version()));
|
||||
setVersion(minVersion);
|
||||
|
@ -81,7 +81,8 @@ public:
|
||||
// developer and the version specified in the protocol and also the
|
||||
// compositor version.
|
||||
if (this->version() > T::interface()->version) {
|
||||
qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead.");
|
||||
qWarning("Supplied protocol version to QWaylandClientExtensionTemplate is higher than the version of the protocol, using protocol version instead. interface.name: %s",
|
||||
T::interface()->name);
|
||||
}
|
||||
int minVersion = qMin(ver, qMin(T::interface()->version, this->version()));
|
||||
setVersion(minVersion);
|
||||
|
Loading…
x
Reference in New Issue
Block a user