summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qactioninput.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-08 11:50:37 +0200
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-09 05:18:19 +0000
commit0e15154c9f0d982096a551efc53fd363d2b2f68d (patch)
tree4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/input/frontend/qactioninput.cpp
parent036ea9fcfdd343c805e1a900528e7a2367d6c373 (diff)
Added parameters to signals and made setters Q_SLOTS
Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qactioninput.cpp')
-rw-r--r--src/input/frontend/qactioninput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qactioninput.cpp b/src/input/frontend/qactioninput.cpp
index dd0773dc8..252e858a4 100644
--- a/src/input/frontend/qactioninput.cpp
+++ b/src/input/frontend/qactioninput.cpp
@@ -80,7 +80,7 @@ void QActionInput::setSourceDevice(QAbstractPhysicalDevice *sourceDevice)
sourceDevice->setParent(this);
d->m_sourceDevice = sourceDevice;
- emit sourceDeviceChanged();
+ emit sourceDeviceChanged(sourceDevice);
}
}
@@ -95,7 +95,7 @@ void QActionInput::setKeys(const QVariantList &keys)
Q_D(QActionInput);
if (d->m_keys != keys) {
d->m_keys = keys;
- emit keysChanged();
+ emit keysChanged(keys);
}
}