Avoid warning about QString from char in xcb
Change-Id: I013f0caa8aba7fef07c7dbe90ed01dfb85347223 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
parent
7eafe74804
commit
31f87f39b6
@ -420,7 +420,7 @@ XInput2TouchDeviceData *QXcbConnection::touchDeviceForId(int id)
|
||||
}
|
||||
if (type >= QTouchDevice::TouchScreen && type <= QTouchDevice::TouchPad) {
|
||||
dev->qtTouchDevice = new QTouchDevice;
|
||||
dev->qtTouchDevice->setName(dev->xiDeviceInfo->name);
|
||||
dev->qtTouchDevice->setName(QString::fromUtf8(dev->xiDeviceInfo->name));
|
||||
dev->qtTouchDevice->setType((QTouchDevice::DeviceType)type);
|
||||
dev->qtTouchDevice->setCapabilities(caps);
|
||||
dev->qtTouchDevice->setMaximumTouchPoints(maxTouchPoints);
|
||||
|
Loading…
Reference in New Issue
Block a user