Commit c7779f13d83726f4f59e3fe56a7785d68a76df9b
fix compile error when linuxinput keyboard driver is compiled as module
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) |