diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-08 23:02:55 (GMT) |
---|---|---|
committer | Anders Bakken <anders@trolltech.com> | 2009-07-09 07:10:17 (GMT) |
commit | 13bc92c6c9c0b1b7b6c9915848175a77ec082a85 (patch) | |
tree | 530051d0ecd819c8637cdf6fd03f167b614716af /src/plugins/kbddrivers/vr41xx | |
parent | 5142a27c19fb01ec80010d2d1de12b0e3082751f (diff) | |
download | Qt-13bc92c6c9c0b1b7b6c9915848175a77ec082a85.zip Qt-13bc92c6c9c0b1b7b6c9915848175a77ec082a85.tar.gz Qt-13bc92c6c9c0b1b7b6c9915848175a77ec082a85.tar.bz2 |
Pass the device arg to the keyboard drivers.
We didn't use to pass the device in to the keyboard handlers rendering
them mostly useless.
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/kbddrivers/vr41xx')
-rw-r--r-- | src/plugins/kbddrivers/vr41xx/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/kbddrivers/vr41xx/main.cpp b/src/plugins/kbddrivers/vr41xx/main.cpp index 2cba1f7..c9ba4d7 100644 --- a/src/plugins/kbddrivers/vr41xx/main.cpp +++ b/src/plugins/kbddrivers/vr41xx/main.cpp @@ -66,10 +66,9 @@ QStringList QVr41xxKbdDriver::keys() const QWSKeyboardHandler* QVr41xxKbdDriver::create(const QString &driver, const QString &device) { - Q_UNUSED(device); if (driver.compare(QLatin1String("VR41xx"), Qt::CaseInsensitive)) return 0; - return new QWSVr41xxKeyboardHandler(driver); + return new QWSVr41xxKeyboardHandler(device); } Q_EXPORT_PLUGIN2(qwsvr41xxkbddriver, QVr41xxKbdDriver) |