Commit 8bf245c0fe68619bd6d859ea35c0b8484ccef410
fix compile error when linuxinput keyboard driver is compiled as plugin
When creating the driver instance two parameters are given to the
driver. But it accepts only the name of the device to be used.
| |   |
| 69 | 69 | Q_UNUSED(device); |
| 70 | 70 | if (driver.compare(QLatin1String("LinuxInput"), Qt::CaseInsensitive)) |
| 71 | 71 | return 0; |
| return new QWSLinuxInputKeyboardHandler(driver, device); |
| return new QWSLinuxInputKeyboardHandler(device); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | Q_EXPORT_PLUGIN2(qwslinuxinputkbddriver, QLinuxInputKbdDriver) |