summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorRainer Keller <mail@rainerkeller.de>2010-01-21 16:27:27 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-02-05 12:54:26 (GMT)
commitfc58ceb0041626baa95d00eaaa2e740171d4767c (patch)
tree23e5a6f521d5f8e6ef48d3f8700868a070f3890e /src/plugins
parent7a300d4d3a89d7002643bd7e70b1525d72967681 (diff)
downloadQt-fc58ceb0041626baa95d00eaaa2e740171d4767c.zip
Qt-fc58ceb0041626baa95d00eaaa2e740171d4767c.tar.gz
Qt-fc58ceb0041626baa95d00eaaa2e740171d4767c.tar.bz2
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
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/kbddrivers/linuxinput/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/kbddrivers/linuxinput/main.cpp b/src/plugins/kbddrivers/linuxinput/main.cpp
index 19a3145..db5167e 100644
--- a/src/plugins/kbddrivers/linuxinput/main.cpp
+++ b/src/plugins/kbddrivers/linuxinput/main.cpp
@@ -69,7 +69,7 @@ QWSKeyboardHandler* QLinuxInputKbdDriver::create(const QString &driver,
Q_UNUSED(device);
if (driver.compare(QLatin1String("LinuxInput"), Qt::CaseInsensitive))
return 0;
- return new QWSLinuxInputKeyboardHandler(driver, device);
+ return new QWSLinuxInputKeyboardHandler(device);
}
Q_EXPORT_PLUGIN2(qwslinuxinputkbddriver, QLinuxInputKbdDriver)