Commit fc58ceb0041626baa95d00eaaa2e740171d4767c
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.
Reviewed-by: Paul
Merge-request: 2288
| |   |
| 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) |