diff options
author | Rolf Eike Beer <eb@emlix.com> | 2019-03-25 13:10:04 +0100 |
---|---|---|
committer | Rolf Eike Beer <eb@emlix.com> | 2019-03-27 15:36:57 +0000 |
commit | 958fa04327f4f3c29eb0e16cc448ef20c62e11a3 (patch) | |
tree | 69a5834b343cc67786ce1cfd7343b6741b44037e | |
parent | 93466daf13c7845cd3bf5e388c6a0967449dce21 (diff) |
tslib: use new connect syntax
Change-Id: I06bbd681fbb4bf809814de454c266f08976e0916
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
-rw-r--r-- | src/platformsupport/input/tslib/qtslib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/input/tslib/qtslib.cpp b/src/platformsupport/input/tslib/qtslib.cpp index 48f41b9eeb..84a468f60c 100644 --- a/src/platformsupport/input/tslib/qtslib.cpp +++ b/src/platformsupport/input/tslib/qtslib.cpp @@ -85,7 +85,7 @@ QTsLibMouseHandler::QTsLibMouseHandler(const QString &key, if (fd >= 0) { qCDebug(qLcTsLib) << "tslib device is" << device; m_notify = new QSocketNotifier(fd, QSocketNotifier::Read, this); - connect(m_notify, SIGNAL(activated(int)), this, SLOT(readMouseData())); + connect(m_notify, &QSocketNotifier::activated, this, &QTsLibMouseHandler::readMouseData); } else { qErrnoWarning(errno, "tslib: Cannot open input device %s", device.constData()); } |